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