public abstract class AbstractXppDomDriver extends AbstractXmlDriver
| Constructor and Description |
|---|
AbstractXppDomDriver(NameCoder nameCoder)
Construct an AbstractXppDomDriver.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.xmlpull.v1.XmlPullParser |
createParser()
Create the parser of the XPP implementation.
|
HierarchicalStreamReader |
createReader(InputStream in)
Create the HierarchicalStreamReader with the stream parser reading from the input stream.
|
HierarchicalStreamReader |
createReader(Reader in)
Create the HierarchicalStreamReader with the stream parser reading from the IO reader.
|
HierarchicalStreamWriter |
createWriter(OutputStream out)
Create the HierarchicalStreamWriter with the formatted writer.
|
HierarchicalStreamWriter |
createWriter(Writer out)
Create the HierarchicalStreamWriter with the formatted writer.
|
xmlFriendlyReplacercreateReader, createReader, getNameCoderpublic AbstractXppDomDriver(NameCoder nameCoder)
nameCoder - the replacer for XML friendly namespublic HierarchicalStreamReader createReader(Reader in)
in - the Reader with the data to parsepublic HierarchicalStreamReader createReader(InputStream in)
in - the InputStream with the data to parsepublic HierarchicalStreamWriter createWriter(Writer out)
out - the Writer to receive the formatted datapublic HierarchicalStreamWriter createWriter(OutputStream out)
out - the OutputStream to receive the formatted dataprotected abstract org.xmlpull.v1.XmlPullParser createParser()
throws org.xmlpull.v1.XmlPullParserException
org.xmlpull.v1.XmlPullParserException - if the parser cannot be createdCopyright © 2004-2014 XStream. All Rights Reserved.