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 StaxDriver
createParser, createParser, createParser, createReader, createReader, createReader, createReader, createStaxReader, createStaxWriter, createStaxWriter, createWriter, createWriter, getInputFactory, getOutputFactory, getQnameMap, isRepairingNamespace, setQnameMap, setRepairingNamespaceMethods inherited from class AbstractXmlDriver
xmlFriendlyReplacerMethods inherited from class AbstractDriver
getNameCoder
-
Constructor Details
-
StandardStaxDriver
public StandardStaxDriver() -
StandardStaxDriver
Deprecated.As of 1.4.6 useStandardStaxDriver(QNameMap, NameCoder) -
StandardStaxDriver
-
StandardStaxDriver
-
StandardStaxDriver
Deprecated.As of 1.4.6 useStandardStaxDriver(NameCoder) -
StandardStaxDriver
- Since:
- 1.4.6
-
-
Method Details
-
createInputFactory
- Overrides:
createInputFactoryin classStaxDriver
-
createOutputFactory
- Overrides:
createOutputFactoryin classStaxDriver
-
StandardStaxDriver(QNameMap, NameCoder)