com.thoughtworks.xstream.io.xml
Class XppDriver
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.XppDriver
- All Implemented Interfaces:
- HierarchicalStreamDriver
public class XppDriver
- extends AbstractXppDriver
A HierarchicalStreamDriver
using the XmlPullParserFactory to locate an XML Pull Parser.
- Author:
- Joe Walnes, Jörg Schaible
Method Summary |
protected org.xmlpull.v1.XmlPullParser |
createParser()
Create the parser of the XPP implementation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XppDriver
public XppDriver()
XppDriver
public XppDriver(NameCoder nameCoder)
- Since:
- 1.4
XppDriver
public XppDriver(XmlFriendlyReplacer replacer)
- Deprecated. As of 1.4, use
XppDriver(NameCoder)
instead.
- Since:
- 1.2
createParser
protected org.xmlpull.v1.XmlPullParser createParser()
throws org.xmlpull.v1.XmlPullParserException
- Create the parser of the XPP implementation.
- Specified by:
createParser
in class AbstractXppDriver
- Throws:
org.xmlpull.v1.XmlPullParserException
- if the parser cannot be created
Copyright © 2004-2014 XStream. All Rights Reserved.