Class XppDomDriver
java.lang.Object
com.thoughtworks.xstream.io.AbstractDriver
com.thoughtworks.xstream.io.xml.AbstractXmlDriver
com.thoughtworks.xstream.io.xml.AbstractXppDomDriver
com.thoughtworks.xstream.io.xml.XppDomDriver
- All Implemented Interfaces:
HierarchicalStreamDriver
A
HierarchicalStreamDriver for XPP DOM using the XmlPullParserFactory to locate an parser.-
Constructor Summary
ConstructorsConstructorDescriptionXppDomDriver(NameCoder nameCoder) XppDomDriver(XmlFriendlyReplacer replacer) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.xmlpull.v1.XmlPullParserCreate the parser of the XPP implementation.Methods inherited from class AbstractXppDomDriver
createReader, createReader, createWriter, createWriterMethods inherited from class AbstractXmlDriver
xmlFriendlyReplacerMethods inherited from class AbstractDriver
createReader, createReader, getNameCoder
-
Constructor Details
-
XppDomDriver
public XppDomDriver() -
XppDomDriver
- Since:
- 1.4
-
XppDomDriver
Deprecated.As of 1.4, useXppDomDriver(NameCoder)instead.- Since:
- 1.2
-
-
Method Details
-
createParser
protected org.xmlpull.v1.XmlPullParser createParser() throws org.xmlpull.v1.XmlPullParserExceptionDescription copied from class:AbstractXppDomDriverCreate the parser of the XPP implementation.- Specified by:
createParserin classAbstractXppDomDriver- Throws:
org.xmlpull.v1.XmlPullParserException- if the parser cannot be created
-
XppDomDriver(NameCoder)instead.