Class KXml2Driver
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.KXml2Driver
- All Implemented Interfaces:
HierarchicalStreamDriver
A
HierarchicalStreamDriver using the kXML2 parser.- Since:
- 1.4
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a KXml2Driver.KXml2Driver(NameCoder nameCoder) Construct a KXml2Driver. -
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
-
KXml2Driver
public KXml2Driver()Construct a KXml2Driver.- Since:
- 1.4
-
KXml2Driver
Construct a KXml2Driver.- 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
-