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

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

index 5eb2443125ed4d30357af92c9bfd25125d6dac4f..eda323e7f6a55d768c9c870bb211199d1c1450f2 100644 (file)
@@ -134,6 +134,16 @@ implements XmlEventSource {
         }
     }
 
+    /**
+     * Push back an event into the buffer; generally this will be an
+     * evnet previously obtained by a <tt>get</tt> from the buffer.
+     * This implementation supports a single entry pushback buffer.
+     * @param event to push back
+     */
+    public void pushBack (XmlEvent event) {
+        super.pushBack(event);
+    }
+    
     /**
      * Get the next event of the given type from the buffer.  Discard
      * intervening events.