CVS Update: xmlpull-api-v1/addons/java/wrapper/src/org/xmlpull/v1/wrapper
Aleksander Andrzej Slominski <[email protected]> Wed, 30 Jul 2003 12:05:56 -0500 (EST)
| Newsgroups | gmane.text.xml.xmlpull.devel |
|---|---|
| Message-ID | <[email protected]> |
aslom 03/07/30 12:05:56
Modified: addons/java/wrapper/src/org/xmlpull/v1/wrapper
XmlPullParserWrapper.java XmlSerializerWrapper.java
Log:
commented out for now XSD code - it deserves separate package/addon
Revision Changes Path
1.9 +59 -60 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.8
retrieving revision 1.9
diff -u -b -t -w -r1.8 -r1.9
--- XmlPullParserWrapper.java 10 Jul 2003 18:04:57 -0000 1.8
+++ XmlPullParserWrapper.java 30 Jul 2003 17:05:55 -0000 1.9
@@ -17,7 +17,6 @@
* @author Naresh Bhatia
*/
public interface XmlPullParserWrapper extends XmlPullParser {
- public static final String NO_NAMESPACE = "";
public static final String XSI_NS = "http://www.w3.org/2001/XMLSchema-instance";
public static final String XSD_NS = "http://www.w3.org/2001/XMLSchema";
@@ -135,64 +134,64 @@
// 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 it has value 'true' returns null
- * as described in
- * <a href="http://www.w3.org/TR/xmlschema-1/#Instance_Document_Constructions">XML Schemas
- * Part 1</a>
- * otherwise it calls nextText().
- * After this method executed the parser is positioned on END_TAG.
- */
- public String readString() throws XmlPullParserException, IOException;
-
- /**
- * Check that parser is on START_TAG with given namespace and name
- * and then call readDouble().
- */
- 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;
-
+// /**
+// * 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 it has value 'true' returns null
+// * as described in
+// * <a href="http://www.w3.org/TR/xmlschema-1/#Instance_Document_Constructions">XML Schemas
+// * Part 1</a>
+// * otherwise it calls nextText().
+// * After this method executed the parser is positioned on END_TAG.
+// */
+// public String readString() throws XmlPullParserException, IOException;
+//
+// /**
+// * Check that parser is on START_TAG with given namespace and name
+// * and then call readDouble().
+// */
+// 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;
+//
}
1.8 +25 -25 xmlpull-api-v1/addons/java/wrapper/src/org/xmlpull/v1/wrapper/XmlSerializerWrapper.java
Index: XmlSerializerWrapper.java
===================================================================
RCS file: /l/extreme/cvspub/xmlpull-api-v1/addons/java/wrapper/src/org/xmlpull/v1/wrapper/XmlSerializerWrapper.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -t -w -r1.7 -r1.8
--- XmlSerializerWrapper.java 10 Jul 2003 18:04:57 -0000 1.7
+++ XmlSerializerWrapper.java 30 Jul 2003 17:05:55 -0000 1.8
@@ -75,30 +75,30 @@
// set of methods to make easy to write XSD types
- /**
- * Write as text value of argument (just calls text!).
- */
- public void writeDouble(double d)
- throws XmlPullParserException, IOException, IllegalArgumentException;
- public void writeFloat(float f)
- throws XmlPullParserException, IOException, IllegalArgumentException;
- public void writeInt(int i)
- throws XmlPullParserException, IOException, IllegalArgumentException;
- public void writeString(String s)
- throws XmlPullParserException, IOException, IllegalArgumentException;
-
- /**
- * Write as element with namesoace and name and value inside
- * (looks like <ns:name>value</ns:name> where ns is prefix
- * for namespace autoatically declared if needed).
- */
- public void writeDoubleElement(String namespace, String name, double d)
- throws XmlPullParserException, IOException, IllegalArgumentException;
- public void writeFloatElement(String namespace, String name, float f)
- throws XmlPullParserException, IOException, IllegalArgumentException;
- public void writeIntElement(String namespace, String name, int i)
- throws XmlPullParserException, IOException, IllegalArgumentException;
- public void writeStringElement(String namespace, String name, String s)
- throws XmlPullParserException, IOException, IllegalArgumentException;
+// /**
+// * Write as text value of argument (just calls text!).
+// */
+// public void writeDouble(double d)
+// throws XmlPullParserException, IOException, IllegalArgumentException;
+// public void writeFloat(float f)
+// throws XmlPullParserException, IOException, IllegalArgumentException;
+// public void writeInt(int i)
+// throws XmlPullParserException, IOException, IllegalArgumentException;
+// public void writeString(String s)
+// throws XmlPullParserException, IOException, IllegalArgumentException;
+//
+// /**
+// * Write as element with namesoace and name and value inside
+// * (looks like <ns:name>value</ns:name> where ns is prefix
+// * for namespace autoatically declared if needed).
+// */
+// public void writeDoubleElement(String namespace, String name, double d)
+// throws XmlPullParserException, IOException, IllegalArgumentException;
+// public void writeFloatElement(String namespace, String name, float f)
+// throws XmlPullParserException, IOException, IllegalArgumentException;
+// public void writeIntElement(String namespace, String name, int i)
+// throws XmlPullParserException, IOException, IllegalArgumentException;
+// public void writeStringElement(String namespace, String name, String s)
+// throws XmlPullParserException, IOException, IllegalArgumentException;
}
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free shipping on all inkjet cartridge & refill kit orders to US & Canada. Low prices up to 80% off. We have your brand: HP, Epson, Lexmark & more.
http://www.c1tracking.com/l.asp?cid=5510
http://us.click.yahoo.com/GHXcIA/n.WGAA/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/