Package com.thoughtworks.xstream.io.xml
Class Xpp3Driver
- 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.Xpp3Driver
-
- All Implemented Interfaces:
HierarchicalStreamDriver
public class Xpp3Driver extends AbstractXppDriver
AHierarchicalStreamDriver
using the Xpp3 parser.- Since:
- 1.4
-
-
Constructor Summary
Constructors Constructor Description Xpp3Driver()
Construct an Xpp3Driver.Xpp3Driver(NameCoder nameCoder)
Construct an Xpp3Driver.
-
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.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 Detail
-
Xpp3Driver
public Xpp3Driver()
Construct an Xpp3Driver.- Since:
- 1.4
-
Xpp3Driver
public Xpp3Driver(NameCoder nameCoder)
Construct an Xpp3Driver.- Parameters:
nameCoder
- the replacer for XML friendly names- Since:
- 1.4
-
-
Method Detail
-
createParser
protected org.xmlpull.v1.XmlPullParser createParser()
Create the parser of the XPP implementation.- Specified by:
createParser
in classAbstractXppDriver
-
-