Package com.thoughtworks.xstream.io.xml
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.XmlPullParser
Create the parser of the XPP implementation.Methods inherited from class com.thoughtworks.xstream.io.xml.AbstractXppDriver
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
-
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:
createParser
in classAbstractXppDriver
-