CVS Update: xmlpull-api-v1/doc
Aleksander Andrzej Slominski <[email protected]> Sat, 3 May 2003 01:24:40 -0500 (EST)
| Newsgroups | gmane.text.xml.xmlpull.devel |
|---|---|
| Message-ID | <[email protected]> |
aslom 03/05/03 01:24:40 Modified: doc addons.html Log: added short info about util and wrapper addons to docs Revision Changes Path 1.4 +55 -1 xmlpull-api-v1/doc/addons.html Index: addons.html =================================================================== RCS file: /l/extreme/cvspub/xmlpull-api-v1/doc/addons.html,v retrieving revision 1.3 retrieving revision 1.4 diff -u -b -t -w -r1.3 -r1.4 --- addons.html 23 Apr 2003 13:36:06 -0000 1.3 +++ addons.html 3 May 2003 06:24:40 -0000 1.4 @@ -14,9 +14,63 @@ </p><p> All addons can be compiled by build target <code>addons</code> (use: <code>ant addons</code>) +<p> </p> + +<a name="util"><h2>Util class</h2> +</a> + +<p>This class provides set of static utility methods for XmlPull parser and +serializer. +</p> + +<p>Here is example usage:</p> +<pre>import org.xmlpull.v1.util.XmlPullUtil; + +XmlPullParser parser = ... +parser.require(XmlPullParser.START_TAG, ..., ...); +XmlPullUtil.skipSubTree(pp); +</pre> + +<p>It can be compiled by build target <code>util</code> + +</p><p>Source code is available in <code>addons/java/util</code>. + +</p><p> +TODO: add link to JavaDoc</p> + + +<a name="wrapper"><h2>Wrapper: Parser and Serializer Extended Interfaces</h2> +</a> + +<p>This package provides extended XmlPullParser and XmlSerializer interfaces +called XmlPullParserWrapper and XmlSerializerWrapper that has additional +methods that make it more convenient and more concise to write parsing and serialzing +code by providing seemlesly integrated additional methods. +</p> + +<p>Wrappers can be uesd exactly the same as XmlPullParser and XmlSerialzier as those +interface <b>extend</b> them. + +<p>Here is example usage:</p> +<pre>import org.xmlpull.v1.wrapper.*; + +XmlPullWrapperFactory wrapper = XmlPullWrapperFactory.newInstance(); +XmlPullParserWrapper pw = wrapper.newPullWrapper(); +pw.require(XmlPullParser.START_TAG, ..., ...); +pw.skipSubTree(); +</pre> + +<p>It can be compiled by build target <code>wrapper</code> + +</p><p>Source code is available in <code>addons/java/wrapper</code>. + +</p><p> +TODO: add link to JavaDoc</p> + + <a name="dom2_builder"> <h2>DOM2 builder</h2> </a> @@ -179,7 +233,7 @@ </p><hr> <font size="-1"> -Last modified $Id: addons.html,v 1.3 2003/04/23 13:36:06 aslom Exp $ +Last modified $Id: addons.html,v 1.4 2003/05/03 06:24:40 aslom Exp $ </font> <!--extra space at bottom for hyperlinks #anchors to work --> ------------------------ Yahoo! Groups Sponsor ---------------------~--> Rent DVDs Online - Over 14,500 titles. No Late Fees & Free Shipping. Try Netflix for FREE! http://us.click.yahoo.com/YoVfrB/XP.FAA/uetFAA/2U_rlB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/