Package com.thoughtworks.xstream.io.xml
Class XppDomDriver
- 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.XppDomDriver
-
- All Implemented Interfaces:
HierarchicalStreamDriver
public class XppDomDriver extends AbstractXppDomDriver
AHierarchicalStreamDriver
for XPP DOM using the XmlPullParserFactory to locate an parser.
-
-
Constructor Summary
Constructors Constructor Description XppDomDriver()
XppDomDriver(NameCoder nameCoder)
XppDomDriver(XmlFriendlyReplacer replacer)
Deprecated.As of 1.4, useXppDomDriver(NameCoder)
instead.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.xmlpull.v1.XmlPullParser
createParser()
Create the parser of the XPP implementation.-
Methods inherited from class com.thoughtworks.xstream.io.xml.AbstractXppDomDriver
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 Detail
-
XppDomDriver
public XppDomDriver()
-
XppDomDriver
public XppDomDriver(NameCoder nameCoder)
- Since:
- 1.4
-
XppDomDriver
public XppDomDriver(XmlFriendlyReplacer replacer)
Deprecated.As of 1.4, useXppDomDriver(NameCoder)
instead.- Since:
- 1.2
-
-
Method Detail
-
createParser
protected org.xmlpull.v1.XmlPullParser createParser() throws org.xmlpull.v1.XmlPullParserException
Description copied from class:AbstractXppDomDriver
Create the parser of the XPP implementation.- Specified by:
createParser
in classAbstractXppDomDriver
- Throws:
org.xmlpull.v1.XmlPullParserException
- if the parser cannot be created
-
-