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(java.io.InputStream in)
Create the HierarchicalStreamReader with the stream parser reading from the input stream.
|
HierarchicalStreamReader |
createReader(java.io.Reader in)
Create the HierarchicalStreamReader with the stream parser reading from the IO reader.
|
HierarchicalStreamWriter |
createWriter(java.io.OutputStream out)
Create the HierarchicalStreamWriter with the formatted writer.
|
HierarchicalStreamWriter |
createWriter(java.io.Writer out)
Create the HierarchicalStreamWriter with the formatted writer.
|
xmlFriendlyReplacer
createReader, createReader, getNameCoder
public AbstractXppDriver(NameCoder nameCoder)
nameCoder
- the replacer for XML friendly tag and attribute namespublic HierarchicalStreamReader createReader(java.io.Reader in)
in
- the Reader
with the data to parsepublic HierarchicalStreamReader createReader(java.io.InputStream in)
in
- the InputStream
with the data to parsepublic HierarchicalStreamWriter createWriter(java.io.Writer out)
out
- the Writer
to receive the formatted datapublic HierarchicalStreamWriter createWriter(java.io.OutputStream out)
out
- the OutputStream
to receive the formatted dataprotected abstract XmlPullParser createParser() throws XmlPullParserException
XmlPullParserException
- if the parser cannot be createdCopyright © 2004–2024 XStream. All rights reserved.