Top Description Constructors Methods
com.thoughtworks.xstream.io.xml

public Class StandardStaxDriver

extends StaxDriver
Class Inheritance
Imports
com.thoughtworks.xstream.core.JVM, com.thoughtworks.xstream.io.StreamException, com.thoughtworks.xstream.io.naming.NameCoder, javax.xml.stream.XMLInputFactory, .XMLOutputFactory

Deprecated

as a consequence of StaxDriver being deprecated. See corresponding docs for further information.

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.

Author
Jörg Schaible
Since
1.4.5

Constructor Summary

AccessConstructor and Description
public
public
public
StandardStaxDriver(QNameMap qnameMap, NameCoder nameCoder)

public
public
public

Method Summary

Modifier and TypeMethod and Description
protected XMLInputFactory
protected XMLOutputFactory
Inherited from com.thoughtworks.xstream.io.xml.StaxDriver:
createParsercreateParsercreateParsercreateReadercreateReadercreateReadercreateReadercreateStaxReadercreateStaxWritercreateStaxWritercreateWritercreateWritergetInputFactorygetOutputFactorygetQnameMapisRepairingNamespacesetQnameMapsetRepairingNamespace

Constructor Detail

StandardStaxDriverback to summary
public StandardStaxDriver()
StandardStaxDriverback to summary
public StandardStaxDriver(QNameMap qnameMap, XmlFriendlyNameCoder nameCoder)

Deprecated

As of 1.4.6 use StandardStaxDriver(QNameMap, NameCoder)

StandardStaxDriverback to summary
public StandardStaxDriver(QNameMap qnameMap, NameCoder nameCoder)
Since
1.4.6
StandardStaxDriverback to summary
public StandardStaxDriver(QNameMap qnameMap)
StandardStaxDriverback to summary
public StandardStaxDriver(XmlFriendlyNameCoder nameCoder)

Deprecated

As of 1.4.6 use StandardStaxDriver(NameCoder)

StandardStaxDriverback to summary
public StandardStaxDriver(NameCoder nameCoder)
Since
1.4.6

Method Detail

createInputFactoryback to summary
protected XMLInputFactory createInputFactory()

Overrides com.thoughtworks.xstream.io.xml.StaxDriver.createInputFactory.

createOutputFactoryback to summary
protected XMLOutputFactory createOutputFactory()

Overrides com.thoughtworks.xstream.io.xml.StaxDriver.createOutputFactory.