CVS Update: xmlpull-api-v1/addons/java/wrapper/src/org/xmlpull/v1/wrapper
Aleksander Andrzej Slominski <[email protected]> Thu, 10 Jul 2003 12:02:30 -0500 (EST)
| Newsgroups | gmane.text.xml.xmlpull.devel |
|---|---|
| Message-ID | <[email protected]> |
aslom 03/07/10 12:02:30
Modified: addons/java/wrapper/src/org/xmlpull/v1/wrapper
XmlPullParserWrapper.java
Log:
more javadocs
Revision Changes Path
1.7 +32 -1 xmlpull-api-v1/addons/java/wrapper/src/org/xmlpull/v1/wrapper/XmlPullParserWrapper.java
Index: XmlPullParserWrapper.java
===================================================================
RCS file: /l/extreme/cvspub/xmlpull-api-v1/addons/java/wrapper/src/org/xmlpull/v1/wrapper/XmlPullParserWrapper.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -t -w -r1.6 -r1.7
--- XmlPullParserWrapper.java 1 Jul 2003 19:11:50 -0000 1.6
+++ XmlPullParserWrapper.java 10 Jul 2003 17:02:30 -0000 1.7
@@ -133,13 +133,29 @@
throws XmlPullParserException, IOException;
// set of methods to read XSD types
+
/**
* Read string content of elment and try to convert it to double.
* Take special care of INF, Infinity and NaN.
+ * After this method executed the parser is positioned on END_TAG.
*/
public double readDouble() throws XmlPullParserException, IOException;
+
+ /**
+ * Read string content of elment and convert it to float.
+ * Take special care of INF, Infinity and NaN.
+ * After this method executed the parser is positioned on END_TAG.
+ */
public float readFloat() throws XmlPullParserException, IOException;
+
+ /**
+ * Read string content of elment and try to convert it to int.
+ * Take special care of INF, Infinity and NaN.
+ * After this method executed the parser is positioned on END_TAG.
+ */
public int readInt() throws XmlPullParserException, IOException;
+
+ //* Check for xsi:nil and if not
public String readString() throws XmlPullParserException, IOException;
/**
@@ -148,10 +164,25 @@
*/
public double readDoubleElement(String namespace, String name)
throws XmlPullParserException, IOException;
+
+ /**
+ * Check that parser is on START_TAG with given namespace and name
+ * and then call readFloat().
+ */
public float readFloatElement(String namespace, String name)
throws XmlPullParserException, IOException;
+
+ /**
+ * Check that parser is on START_TAG with given namespace and name
+ * and then call readInt().
+ */
public int readIntElement(String namespace, String name)
throws XmlPullParserException, IOException;
+
+ /**
+ * Check that parser is on START_TAG with given namespace and name
+ * and then call readString().
+ */
public String readStringElemet(String namespace, String name)
throws XmlPullParserException, IOException;
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/sOykFB/k9VGAA/ySSFAA/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/