pbwest 2004/01/18 23:09:19
Modified: src/java/org/apache/fop/xml Tag: FOP_0-20-0_Alt-Design
SyncedXmlEventsBuffer.java
Log:
Added pushBack(XmlEvent) to conform with XmlEventSource interface.
Revision Changes Path
No revision
No revision
1.1.2.5 +12 -2
xml-fop/src/java/org/apache/fop/xml/Attic/SyncedXmlEventsBuffer.java
Index: SyncedXmlEventsBuffer.java
===================================================================
RCS file:
/home/cvs/xml-fop/src/java/org/apache/fop/xml/Attic/SyncedXmlEventsBuffer.java,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -r1.1.2.4 -r1.1.2.5
--- SyncedXmlEventsBuffer.java 16 Jan 2004 15:32:58 -0000 1.1.2.4
+++ SyncedXmlEventsBuffer.java 19 Jan 2004 07:09:19 -0000 1.1.2.5
@@ -135,6 +135,16 @@
}
/**
+ * 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.
* @param eventType - the <tt>int</tt> event type.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]