public abstract class AbstractXppDriver extends AbstractXmlDriver
| Constructor and Description | 
|---|
AbstractXppDriver(NameCoder nameCoder)
Construct an AbstractXppDriver. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract 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 AbstractXppDriver(NameCoder nameCoder)
nameCoder - the replacer for XML friendly tag and attribute 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 XmlPullParser createParser()
                                       throws XmlPullParserException
XmlPullParserException - if the parser cannot be createdCopyright © 2004–2016 XStream. All rights reserved.