pbwest 2004/01/18 23:10:54
Modified: src/java/org/apache/fop/xml Tag: FOP_0-20-0_Alt-Design
XmlEventSource.java
Log:
Added public void pushBack(XmlEvent)
Revision Changes Path
No revision
No revision
1.1.2.2 +9 -2 xml-fop/src/java/org/apache/fop/xml/Attic/XmlEventSource.java
Index: XmlEventSource.java
===================================================================
RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/xml/Attic/XmlEventSource.java,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- XmlEventSource.java 16 Jan 2004 15:41:20 -0000 1.1.2.1
+++ XmlEventSource.java 19 Jan 2004 07:10:54 -0000 1.1.2.2
@@ -67,6 +67,13 @@
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
*/
public boolean isExhausted();
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]