com.thoughtworks.xstream.io.xml
Class Dom4JDriver
java.lang.Object
com.thoughtworks.xstream.io.xml.AbstractXmlDriver
com.thoughtworks.xstream.io.xml.Dom4JDriver
- All Implemented Interfaces:
- HierarchicalStreamDriver
public class Dom4JDriver
- extends AbstractXmlDriver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Dom4JDriver
public Dom4JDriver()
Dom4JDriver
public Dom4JDriver(org.dom4j.DocumentFactory documentFactory,
org.dom4j.io.OutputFormat outputFormat)
Dom4JDriver
public Dom4JDriver(org.dom4j.DocumentFactory documentFactory,
org.dom4j.io.OutputFormat outputFormat,
XmlFriendlyReplacer replacer)
- Since:
- 1.2
getDocumentFactory
public org.dom4j.DocumentFactory getDocumentFactory()
setDocumentFactory
public void setDocumentFactory(org.dom4j.DocumentFactory documentFactory)
getOutputFormat
public org.dom4j.io.OutputFormat getOutputFormat()
setOutputFormat
public void setOutputFormat(org.dom4j.io.OutputFormat outputFormat)
createReader
public HierarchicalStreamReader createReader(java.io.Reader text)
createReader
public HierarchicalStreamReader createReader(java.io.InputStream in)
createWriter
public HierarchicalStreamWriter createWriter(java.io.Writer out)
createWriter
public HierarchicalStreamWriter createWriter(java.io.OutputStream out)
Joe Walnes, http://xstream.codehaus.org/