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

public Class MXParserDriver

extends AbstractXppDriver
Class Inheritance
Imports
com.thoughtworks.xstream.io.HierarchicalStreamDriver, com.thoughtworks.xstream.io.naming.NameCoder, io.github.xstream.mxparser.MXParser, org.xmlpull.v1.XmlPullParser

Deprecated

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

A HierarchicalStreamDriver using the MXParser fork.
Author
Jörg Schaible
Since
1.4.16

Constructor Summary

AccessConstructor and Description
public
MXParserDriver()

Construct an MXParserDriver.

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

Construct an Xpp3Driver.

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

MXParserDriverback to summary
public MXParserDriver()

Construct an MXParserDriver.

Since
1.4.16
MXParserDriverback to summary
public MXParserDriver(NameCoder nameCoder)

Construct an Xpp3Driver.

Parameters
nameCoder:NameCoder

the replacer for XML friendly names

Since
1.4.16

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.