You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by po...@apache.org on 2004/10/28 22:10:50 UTC
cvs commit: jakarta-commons/jelly/src/java/org/apache/commons/jelly XMLOutput.java
polx 2004/10/28 13:10:50
Modified: jelly/src/java/org/apache/commons/jelly XMLOutput.java
Log:
Adding XMLOutput.objectData() for use by tags that want to "send data"
to "caller tags". This is, currently, mostly unused.
paul
Revision Changes Path
1.19 +13 -1 jakarta-commons/jelly/src/java/org/apache/commons/jelly/XMLOutput.java
Index: XMLOutput.java
===================================================================
RCS file: /home/cvs/jakarta-commons/jelly/src/java/org/apache/commons/jelly/XMLOutput.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- XMLOutput.java 9 Sep 2004 12:25:39 -0000 1.18
+++ XMLOutput.java 28 Oct 2004 20:10:50 -0000 1.19
@@ -776,6 +776,18 @@
lexicalHandler.comment(ch, start, length);
}
}
+
+ /** Pass data through the pipline.
+ * By default, this call is ignored.
+ * Subclasses are invited to use this as a way for children tags to
+ * pass data to their parent.
+ *
+ * @param object the data to pass
+ * @exception SAXException The application may raise an exception.
+ */
+ public void objectData(Object object) throws SAXException {
+ // do nothing
+ }
// Properties
//-------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org