]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Added public void pushBack(XmlEvent)
authorPeter Bernard West <pbwest@apache.org>
Mon, 19 Jan 2004 07:10:54 +0000 (07:10 +0000)
committerPeter Bernard West <pbwest@apache.org>
Mon, 19 Jan 2004 07:10:54 +0000 (07:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197217 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/xml/XmlEventSource.java

index 15e683b578a0c8031ee49b424af7d5005de908c5..a141cd9d47f6eff506d493631313f8b79282fa62 100644 (file)
@@ -66,6 +66,13 @@ public interface XmlEventSource {
      */
     public XmlEvent getEvent() throws FOPException;
     
+    /**
+     * Push back an XmlEvent.  The next call to <code>get()</code> will
+     * retrieve this event.  Only one level of pushback is supported.
+     * @param event to be pushed back
+     */
+    public void pushBack(XmlEvent event);
+    
     /**
      * @return true if source is exhausted
      */