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

public Class XppDomDriver

extends AbstractXppDomDriver
Class Inheritance
Imports
org.xmlpull.v1.XmlPullParser, .XmlPullParserException, com.thoughtworks.xstream.io.HierarchicalStreamDriver, com.thoughtworks.xstream.io.naming.NameCoder

Deprecated

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

A HierarchicalStreamDriver for XPP DOM using the XmlPullParserFactory to locate an parser.
Authors
Joe Walnes, Jörg Schaible

Constructor Summary

AccessConstructor and Description
public
public
public
XppDomDriver(XmlFriendlyReplacer replacer)

Deprecated As of 1.4, use XppDomDriver#XppDomDriver(NameCoder) instead.

Method Summary

Modifier and TypeMethod and Description
protected synchronized XmlPullParser
createParser()

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

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

Constructor Detail

XppDomDriverback to summary
public XppDomDriver()
XppDomDriverback to summary
public XppDomDriver(NameCoder nameCoder)
Since
1.4
XppDomDriverback to summary
public XppDomDriver(XmlFriendlyReplacer replacer)

Deprecated

As of 1.4, use XppDomDriver#XppDomDriver(NameCoder) instead.

Since
1.2

Method Detail

createParserback to summary
protected synchronized XmlPullParser createParser() throws XmlPullParserException

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

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

Create the parser of the XPP implementation.

Exceptions
XmlPullParserException:
if the parser cannot be created