public class StaxDriver extends AbstractXmlDriver
| Constructor and Description |
|---|
StaxDriver() |
StaxDriver(NameCoder nameCoder) |
StaxDriver(QNameMap qnameMap) |
StaxDriver(QNameMap qnameMap,
NameCoder nameCoder) |
StaxDriver(QNameMap qnameMap,
XmlFriendlyReplacer replacer)
Deprecated.
As of 1.4, use
StaxDriver(QNameMap, NameCoder) instead. |
StaxDriver(XmlFriendlyReplacer replacer)
Deprecated.
As of 1.4, use
StaxDriver(NameCoder) instead. |
xmlFriendlyReplacergetNameCoderpublic StaxDriver()
public StaxDriver(QNameMap qnameMap)
public StaxDriver(NameCoder nameCoder)
public StaxDriver(QNameMap qnameMap, XmlFriendlyReplacer replacer)
StaxDriver(QNameMap, NameCoder) instead.public StaxDriver(XmlFriendlyReplacer replacer)
StaxDriver(NameCoder) instead.public HierarchicalStreamReader createReader(Reader xml)
HierarchicalStreamDriverxml - the Reader with the data to parsepublic HierarchicalStreamReader createReader(InputStream in)
HierarchicalStreamDriverin - the InputStream with the data to parsepublic HierarchicalStreamReader createReader(URL in)
AbstractDrivercreateReader in interface HierarchicalStreamDrivercreateReader in class AbstractDriverin - the URL defining the location with the data to parsepublic HierarchicalStreamReader createReader(File in)
AbstractDrivercreateReader in interface HierarchicalStreamDrivercreateReader in class AbstractDriverin - the URL defining the location with the data to parsepublic HierarchicalStreamWriter createWriter(Writer out)
HierarchicalStreamDriverout - the Writer to receive the formatted datapublic HierarchicalStreamWriter createWriter(OutputStream out)
HierarchicalStreamDriverout - the OutputStream to receive the formatted datapublic AbstractPullReader createStaxReader(javax.xml.stream.XMLStreamReader in)
public StaxWriter createStaxWriter(javax.xml.stream.XMLStreamWriter out, boolean writeStartEndDocument) throws javax.xml.stream.XMLStreamException
public StaxWriter createStaxWriter(javax.xml.stream.XMLStreamWriter out) throws javax.xml.stream.XMLStreamException
public QNameMap getQnameMap()
public void setQnameMap(QNameMap qnameMap)
public javax.xml.stream.XMLInputFactory getInputFactory()
public javax.xml.stream.XMLOutputFactory getOutputFactory()
public boolean isRepairingNamespace()
public void setRepairingNamespace(boolean repairing)
protected javax.xml.stream.XMLStreamReader createParser(Reader xml) throws javax.xml.stream.XMLStreamException
protected javax.xml.stream.XMLStreamReader createParser(InputStream xml) throws javax.xml.stream.XMLStreamException
protected javax.xml.stream.XMLStreamReader createParser(Source source) throws javax.xml.stream.XMLStreamException
protected javax.xml.stream.XMLInputFactory createInputFactory()
protected javax.xml.stream.XMLOutputFactory createOutputFactory()
Copyright © 2004–2013 XStream. All rights reserved.