Package com.thoughtworks.xstream.io.xml
Class StandardStaxDriver
java.lang.Object
com.thoughtworks.xstream.io.AbstractDriver
com.thoughtworks.xstream.io.xml.AbstractXmlDriver
com.thoughtworks.xstream.io.xml.StaxDriver
com.thoughtworks.xstream.io.xml.StandardStaxDriver
- All Implemented Interfaces:
HierarchicalStreamDriver
A driver using the standard JDK StAX implementation provided by the Java runtime (since Java
6).
In contrast to XMLInputFactory.newFactory() or XMLOutputFactory.newFactory() this implementation will ignore any implementations provided with the system properties javax.xml.stream.XMLInputFactory and javax.xml.stream.XMLOutputFactory, all implementations configured in lib/stax.properties or registered with the Service API.
- Since:
- 1.4.5
-
Constructor Summary
ConstructorsConstructorDescriptionStandardStaxDriver
(NameCoder nameCoder) StandardStaxDriver
(QNameMap qnameMap) StandardStaxDriver
(QNameMap qnameMap, NameCoder nameCoder) StandardStaxDriver
(QNameMap qnameMap, XmlFriendlyNameCoder nameCoder) Deprecated.StandardStaxDriver
(XmlFriendlyNameCoder nameCoder) Deprecated.As of 1.4.6 useStandardStaxDriver(NameCoder)
-
Method Summary
Methods inherited from class com.thoughtworks.xstream.io.xml.StaxDriver
createParser, createParser, createParser, createReader, createReader, createReader, createReader, createStaxReader, createStaxWriter, createStaxWriter, createWriter, createWriter, getInputFactory, getOutputFactory, getQnameMap, isRepairingNamespace, setQnameMap, setRepairingNamespace
Methods inherited from class com.thoughtworks.xstream.io.xml.AbstractXmlDriver
xmlFriendlyReplacer
Methods inherited from class com.thoughtworks.xstream.io.AbstractDriver
getNameCoder
-
Constructor Details
-
StandardStaxDriver
public StandardStaxDriver() -
StandardStaxDriver
Deprecated.As of 1.4.6 useStandardStaxDriver(QNameMap, NameCoder)
-
StandardStaxDriver
- Since:
- 1.4.6
-
StandardStaxDriver
-
StandardStaxDriver
Deprecated.As of 1.4.6 useStandardStaxDriver(NameCoder)
-
StandardStaxDriver
- Since:
- 1.4.6
-
-
Method Details
-
createInputFactory
- Overrides:
createInputFactory
in classStaxDriver
-
createOutputFactory
- Overrides:
createOutputFactory
in classStaxDriver
-
StandardStaxDriver(QNameMap, NameCoder)