Class CloneParser
java.lang.Object
CloneParser
An example to demonstrate how cloneable parser can be used.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static XmlPullParser
static void
private static void
print
(XmlPullParser pp)
-
Constructor Details
-
CloneParser
CloneParser()
-
-
Method Details
-
main
- Throws:
Exception
-
cloneParserIfCloneable
private static XmlPullParser cloneParserIfCloneable(XmlPullParser pp) throws CloneNotSupportedException - Throws:
CloneNotSupportedException
-
print
- Throws:
XmlPullParserException
-