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 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 XmlPullParser createParser()
throws XmlPullParserException
- Create the parser of the XPP implementation.
- Specified by:
createParser in class AbstractXppDriver
- Throws:
XmlPullParserException - if the parser cannot be created
Copyright © 2012. All Rights Reserved.