Class Xpp3Driver
java.lang.Object
com.thoughtworks.xstream.io.AbstractDriver
com.thoughtworks.xstream.io.xml.AbstractXmlDriver
com.thoughtworks.xstream.io.xml.AbstractXppDriver
com.thoughtworks.xstream.io.xml.Xpp3Driver
- All Implemented Interfaces:
HierarchicalStreamDriver
A
HierarchicalStreamDriver using the Xpp3 parser.- Since:
- 1.4
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct an Xpp3Driver.Xpp3Driver(NameCoder nameCoder) Construct an Xpp3Driver. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.xmlpull.v1.XmlPullParserCreate the parser of the XPP implementation.Methods inherited from class AbstractXppDriver
createReader, createReader, createWriter, createWriterMethods inherited from class AbstractXmlDriver
xmlFriendlyReplacerMethods inherited from class AbstractDriver
createReader, createReader, getNameCoder
-
Constructor Details
-
Xpp3Driver
public Xpp3Driver()Construct an Xpp3Driver.- Since:
- 1.4
-
Xpp3Driver
Construct an Xpp3Driver.- Parameters:
nameCoder- the replacer for XML friendly names- Since:
- 1.4
-
-
Method Details
-
createParser
protected org.xmlpull.v1.XmlPullParser createParser()Create the parser of the XPP implementation.- Specified by:
createParserin classAbstractXppDriver
-