pbwest 2002/11/26 19:25:18
Modified: src/org/apache/fop/xml Tag: FOP_0-20-0_Alt-Design
XMLEvent.java
Log:
Modified clear() to return the event.
Revision Changes Path
No revision
No revision
1.1.2.8 +6 -4 xml-fop/src/org/apache/fop/xml/Attic/XMLEvent.java
Index: XMLEvent.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/xml/Attic/XMLEvent.java,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -u -r1.1.2.7 -r1.1.2.8
--- XMLEvent.java 23 Nov 2002 14:42:05 -0000 1.1.2.7
+++ XMLEvent.java 27 Nov 2002 03:25:18 -0000 1.1.2.8
@@ -116,14 +116,16 @@
/**
* Clear the fields of this event. Provided for pool operations.
* The <i>namespaces</i> field is not cleared.
+ * @return the cleared event.
*/
- public void clear() {
+ public XMLEvent clear() {
type = NOEVENT;
chars = null;
uriIndex = 0;
localName = null;
qName = null;
attributes = null;
+ return this;
}
public int getType() { return type; }
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]