Top Description Constructors Methods
com.thoughtworks.xstream.io.xml

public Class KXml2Driver

extends AbstractXppDriver
Class Inheritance
Imports
com.thoughtworks.xstream.io.HierarchicalStreamDriver, com.thoughtworks.xstream.io.naming.NameCoder, org.kxml2.io.KXmlParser, org.xmlpull.v1.XmlPullParser

Deprecated

as a consequence of AbstractXppDriver being deprecated. See corresponding docs for further information.

A HierarchicalStreamDriver using the kXML2 parser.
Author
Jörg Schaible
Since
1.4

Constructor Summary

AccessConstructor and Description
public
KXml2Driver()

Construct a KXml2Driver.

public
KXml2Driver(NameCoder
the replacer for XML friendly names
nameCoder
)

Construct a KXml2Driver.

Method Summary

Modifier and TypeMethod and Description
protected XmlPullParser
createParser()

Implements abstract com.thoughtworks.xstream.io.xml.AbstractXppDriver.createParser.

Create the parser of the XPP implementation.
Inherited from com.thoughtworks.xstream.io.xml.AbstractXppDriver:
createReadercreateReadercreateWritercreateWriter

Constructor Detail

KXml2Driverback to summary
public KXml2Driver()

Construct a KXml2Driver.

Since
1.4
KXml2Driverback to summary
public KXml2Driver(NameCoder nameCoder)

Construct a KXml2Driver.

Parameters
nameCoder:NameCoder

the replacer for XML friendly names

Since
1.4

Method Detail

createParserback to summary
protected XmlPullParser createParser()

Implements abstract com.thoughtworks.xstream.io.xml.AbstractXppDriver.createParser.

Doc from com.thoughtworks.xstream.io.xml.AbstractXppDriver.createParser.

Create the parser of the XPP implementation.