public class JettisonMappedXmlDriver extends AbstractDriver
| Modifier and Type | Field and Description |
|---|---|
protected MappedNamespaceConvention |
convention |
protected MappedXMLInputFactory |
mif |
protected MappedXMLOutputFactory |
mof |
protected boolean |
useSerializeAsArray |
| Constructor and Description |
|---|
JettisonMappedXmlDriver()
Construct a JettisonMappedXmlDriver.
|
JettisonMappedXmlDriver(Configuration config)
Construct a JettisonMappedXmlDriver with configuration.
|
JettisonMappedXmlDriver(Configuration config,
boolean useSerializeAsArray)
Construct a JettisonMappedXmlDriver with configuration.
|
| Modifier and Type | Method and Description |
|---|---|
HierarchicalStreamReader |
createReader(File in)
Create the HierarchicalStreamReader with the stream parser reading from a File.
|
HierarchicalStreamReader |
createReader(InputStream input)
Create the HierarchicalStreamReader with the stream parser reading from the input stream.
|
HierarchicalStreamReader |
createReader(Reader reader)
Create the HierarchicalStreamReader with the stream parser reading from the IO reader.
|
HierarchicalStreamReader |
createReader(URL in)
Create the HierarchicalStreamReader with the stream parser reading from a URL.
|
HierarchicalStreamWriter |
createWriter(OutputStream output)
Create the HierarchicalStreamWriter with the formatted writer.
|
HierarchicalStreamWriter |
createWriter(Writer writer)
Create the HierarchicalStreamWriter with the formatted writer.
|
getNameCoderprotected final MappedXMLOutputFactory mof
protected final MappedXMLInputFactory mif
protected final MappedNamespaceConvention convention
protected final boolean useSerializeAsArray
public JettisonMappedXmlDriver()
public JettisonMappedXmlDriver(Configuration config)
config - the Jettison configurationpublic JettisonMappedXmlDriver(Configuration config,
boolean useSerializeAsArray)
config - the Jettison configurationuseSerializeAsArray - flag to use XStream's hints for collections and arrayspublic HierarchicalStreamReader createReader(Reader reader)
HierarchicalStreamDriverreader - the Reader with the data to parsepublic HierarchicalStreamReader createReader(InputStream input)
HierarchicalStreamDriverinput - 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 writer)
HierarchicalStreamDriverwriter - the Writer to receive the formatted datapublic HierarchicalStreamWriter createWriter(OutputStream output)
HierarchicalStreamDriveroutput - the OutputStream to receive the formatted dataCopyright © 2004–2016 XStream. All rights reserved.