public class XppDriver extends AbstractXppDriver
HierarchicalStreamDriver
using the XmlPullParserFactory to locate an XML Pull Parser.Constructor and Description |
---|
XppDriver() |
XppDriver(NameCoder nameCoder) |
XppDriver(XmlFriendlyReplacer replacer)
Deprecated.
As of 1.4, use
XppDriver(NameCoder) instead. |
Modifier and Type | Method and Description |
---|---|
static XmlPullParser |
createDefaultParser()
Create a default XML Pull Parser.
|
protected XmlPullParser |
createParser()
Create the parser of the XPP implementation.
|
createReader, createReader, createWriter, createWriter
xmlFriendlyReplacer
createReader, createReader, getNameCoder
public XppDriver()
public XppDriver(NameCoder nameCoder)
public XppDriver(XmlFriendlyReplacer replacer)
XppDriver(NameCoder)
instead.public static XmlPullParser createDefaultParser() throws XmlPullParserException
XmlPullParserFactory
and let it create a new parser.XmlPullParserException
- if the creation of a new parser fails.protected XmlPullParser createParser() throws XmlPullParserException
AbstractXppDriver
createParser
in class AbstractXppDriver
XmlPullParserException
- if the parser cannot be createdCopyright © 2004–2024 XStream. All rights reserved.