Package com.thoughtworks.xstream.io.xml
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.XmlPullParser
Create the parser of the XPP implementation.Methods inherited from class com.thoughtworks.xstream.io.xml.AbstractXppDomDriver
createReader, createReader, createWriter, createWriter
Methods inherited from class com.thoughtworks.xstream.io.xml.AbstractXmlDriver
xmlFriendlyReplacer
Methods inherited from class com.thoughtworks.xstream.io.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:AbstractXppDomDriver
Create the parser of the XPP implementation.- Specified by:
createParser
in classAbstractXppDomDriver
- Throws:
org.xmlpull.v1.XmlPullParserException
- if the parser cannot be created
-
XppDomDriver(NameCoder)
instead.