public class Dom4JDriver extends AbstractXmlDriver
| Constructor and Description |
|---|
Dom4JDriver() |
Dom4JDriver(org.dom4j.DocumentFactory documentFactory,
org.dom4j.io.OutputFormat outputFormat) |
Dom4JDriver(org.dom4j.DocumentFactory documentFactory,
org.dom4j.io.OutputFormat outputFormat,
NameCoder nameCoder) |
Dom4JDriver(org.dom4j.DocumentFactory documentFactory,
org.dom4j.io.OutputFormat outputFormat,
XmlFriendlyReplacer replacer)
Deprecated.
As of 1.4, use
Dom4JDriver(DocumentFactory, OutputFormat, NameCoder) instead. |
Dom4JDriver(NameCoder nameCoder) |
| Modifier and Type | Method and Description |
|---|---|
HierarchicalStreamReader |
createReader(File in)
Create the HierarchicalStreamReader with the stream parser reading from a File.
|
HierarchicalStreamReader |
createReader(InputStream in)
Create the HierarchicalStreamReader with the stream parser reading from the input stream.
|
HierarchicalStreamReader |
createReader(Reader text)
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 out)
Create the HierarchicalStreamWriter with the formatted writer.
|
HierarchicalStreamWriter |
createWriter(Writer out)
Create the HierarchicalStreamWriter with the formatted writer.
|
org.dom4j.DocumentFactory |
getDocumentFactory() |
org.dom4j.io.OutputFormat |
getOutputFormat() |
void |
setDocumentFactory(org.dom4j.DocumentFactory documentFactory) |
void |
setOutputFormat(org.dom4j.io.OutputFormat outputFormat) |
xmlFriendlyReplacergetNameCoderpublic Dom4JDriver()
public Dom4JDriver(NameCoder nameCoder)
public Dom4JDriver(org.dom4j.DocumentFactory documentFactory,
org.dom4j.io.OutputFormat outputFormat)
public Dom4JDriver(org.dom4j.DocumentFactory documentFactory,
org.dom4j.io.OutputFormat outputFormat,
NameCoder nameCoder)
public Dom4JDriver(org.dom4j.DocumentFactory documentFactory,
org.dom4j.io.OutputFormat outputFormat,
XmlFriendlyReplacer replacer)
Dom4JDriver(DocumentFactory, OutputFormat, NameCoder) instead.public org.dom4j.DocumentFactory getDocumentFactory()
public void setDocumentFactory(org.dom4j.DocumentFactory documentFactory)
public org.dom4j.io.OutputFormat getOutputFormat()
public void setOutputFormat(org.dom4j.io.OutputFormat outputFormat)
public HierarchicalStreamReader createReader(Reader text)
HierarchicalStreamDrivertext - the Reader with the data to parsepublic HierarchicalStreamReader createReader(InputStream in)
HierarchicalStreamDriverin - 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 out)
HierarchicalStreamDriverout - the Writer to receive the formatted datapublic HierarchicalStreamWriter createWriter(OutputStream out)
HierarchicalStreamDriverout - the OutputStream to receive the formatted dataCopyright © 2004-2014 XStream. All Rights Reserved.