|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object flattree.xstream.FlatHierarchicalStreamDriver
public class FlatHierarchicalStreamDriver
HierarchicalStreamDriver
utilizing
FlatHierarchicalStreamReader
and FlatHierarchicalStreamWriter
.
Constructor Summary | |
---|---|
FlatHierarchicalStreamDriver()
Undefined tree structure. |
|
FlatHierarchicalStreamDriver(Node root)
Use the given Node defining the tree structure. |
Method Summary | |
---|---|
protected Node |
createNode(Node parent,
String name,
Map<String,String> values)
Support lazy creation of nodes on writing. |
com.thoughtworks.xstream.io.HierarchicalStreamReader |
createReader(InputStream input)
|
com.thoughtworks.xstream.io.HierarchicalStreamReader |
createReader(Reader reader)
|
com.thoughtworks.xstream.io.HierarchicalStreamWriter |
createWriter(OutputStream output)
|
com.thoughtworks.xstream.io.HierarchicalStreamWriter |
createWriter(Writer writer)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FlatHierarchicalStreamDriver()
createNode(Node, String, Map)
public FlatHierarchicalStreamDriver(Node root)
Node
defining the tree structure.
root
- the tree's rootMethod Detail |
---|
public com.thoughtworks.xstream.io.HierarchicalStreamReader createReader(InputStream input)
createReader
in interface com.thoughtworks.xstream.io.HierarchicalStreamDriver
public com.thoughtworks.xstream.io.HierarchicalStreamWriter createWriter(OutputStream output)
createWriter
in interface com.thoughtworks.xstream.io.HierarchicalStreamDriver
public com.thoughtworks.xstream.io.HierarchicalStreamReader createReader(Reader reader)
createReader
in interface com.thoughtworks.xstream.io.HierarchicalStreamDriver
public com.thoughtworks.xstream.io.HierarchicalStreamWriter createWriter(Writer writer)
createWriter
in interface com.thoughtworks.xstream.io.HierarchicalStreamDriver
protected Node createNode(Node parent, String name, Map<String,String> values)
createWriter(OutputStream)
,
createWriter(Writer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |