|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.thoughtworks.xstream.io.AbstractDriver
com.thoughtworks.xstream.io.xml.AbstractXmlDriver
com.thoughtworks.xstream.io.xml.XomDriver
public class XomDriver
Constructor Summary | |
---|---|
XomDriver()
|
|
XomDriver(nu.xom.Builder builder)
|
|
XomDriver(nu.xom.Builder builder,
NameCoder nameCoder)
|
|
XomDriver(nu.xom.Builder builder,
XmlFriendlyReplacer replacer)
Deprecated. As of 1.4, use XomDriver(Builder, NameCoder) instead |
|
XomDriver(NameCoder nameCoder)
|
|
XomDriver(XmlFriendlyReplacer replacer)
Deprecated. As of 1.4, use XomDriver(Builder, NameCoder) instead |
Method Summary | |
---|---|
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. |
protected nu.xom.Builder |
getBuilder()
|
Methods inherited from class com.thoughtworks.xstream.io.xml.AbstractXmlDriver |
---|
xmlFriendlyReplacer |
Methods inherited from class com.thoughtworks.xstream.io.AbstractDriver |
---|
getNameCoder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XomDriver()
public XomDriver(nu.xom.Builder builder)
public XomDriver(NameCoder nameCoder)
public XomDriver(nu.xom.Builder builder, NameCoder nameCoder)
public XomDriver(XmlFriendlyReplacer replacer)
XomDriver(Builder, NameCoder)
instead
public XomDriver(nu.xom.Builder builder, XmlFriendlyReplacer replacer)
XomDriver(Builder, NameCoder)
instead
Method Detail |
---|
protected nu.xom.Builder getBuilder()
public HierarchicalStreamReader createReader(Reader text)
HierarchicalStreamDriver
text
- the Reader
with the data to parse
public HierarchicalStreamReader createReader(InputStream in)
HierarchicalStreamDriver
in
- the InputStream
with the data to parsepublic HierarchicalStreamReader createReader(URL in)
AbstractDriver
createReader
in interface HierarchicalStreamDriver
createReader
in class AbstractDriver
in
- the URL
defining the location with the data to parse
public HierarchicalStreamReader createReader(File in)
AbstractDriver
createReader
in interface HierarchicalStreamDriver
createReader
in class AbstractDriver
in
- the URL
defining the location with the data to parse
public HierarchicalStreamWriter createWriter(Writer out)
HierarchicalStreamDriver
out
- the Writer
to receive the formatted data
public HierarchicalStreamWriter createWriter(OutputStream out)
HierarchicalStreamDriver
out
- the OutputStream
to receive the formatted data
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |