pbwest 2002/11/26 19:24:36
Modified: src/org/apache/fop/xml Tag: FOP_0-20-0_Alt-Design
FoXMLEvent.java
Log:
Added clearFo(). Modified clear().
Revision Changes Path
No revision
No revision
1.1.2.3 +15 -5 xml-fop/src/org/apache/fop/xml/Attic/FoXMLEvent.java
Index: FoXMLEvent.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/xml/Attic/FoXMLEvent.java,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -r1.1.2.2 -r1.1.2.3
--- FoXMLEvent.java 23 Nov 2002 14:42:04 -0000 1.1.2.2
+++ FoXMLEvent.java 27 Nov 2002 03:24:35 -0000 1.1.2.3
@@ -76,10 +76,20 @@
/**
* Clear the fields of this event. Provided for pool operations.
* The <i>namespaces</i> field is not cleared.
+ * @return the cleared <tt>XMLEvent</tt> event.
*/
- public void clear() {
- super.clear();
+ public XMLEvent clear() {
foType = FObjectNames.NO_FO;
+ return super.clear();
+ }
+
+ /**
+ * Clear the fields of this event. Provided for pool operations.
+ * The <i>namespaces</i> field is not cleared.
+ * @return the cleared <tt>XMLEvent</tt> event.
+ */
+ public FoXMLEvent clearFo() {
+ return (FoXMLEvent)clear();
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]