public class JettisonMappedXmlDriver extends AbstractDriver
| Modifier and Type | Field and Description |
|---|---|
protected org.codehaus.jettison.mapped.MappedNamespaceConvention |
convention |
protected org.codehaus.jettison.mapped.MappedXMLInputFactory |
mif |
protected org.codehaus.jettison.mapped.MappedXMLOutputFactory |
mof |
protected boolean |
useSerializeAsArray |
| Constructor and Description |
|---|
JettisonMappedXmlDriver()
Construct a JettisonMappedXmlDriver.
|
JettisonMappedXmlDriver(org.codehaus.jettison.mapped.Configuration config)
Construct a JettisonMappedXmlDriver with configuration.
|
JettisonMappedXmlDriver(org.codehaus.jettison.mapped.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 org.codehaus.jettison.mapped.MappedXMLOutputFactory mof
protected final org.codehaus.jettison.mapped.MappedXMLInputFactory mif
protected final org.codehaus.jettison.mapped.MappedNamespaceConvention convention
protected final boolean useSerializeAsArray
public JettisonMappedXmlDriver()
public JettisonMappedXmlDriver(org.codehaus.jettison.mapped.Configuration config)
config - the Jettison configurationpublic JettisonMappedXmlDriver(org.codehaus.jettison.mapped.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-2014 XStream. All Rights Reserved.