flattree.xstream
Class FlatHierarchicalStreamWriter
java.lang.Object
flattree.xstream.FlatHierarchicalStreamWriter
- All Implemented Interfaces:
- com.thoughtworks.xstream.io.ExtendedHierarchicalStreamWriter, com.thoughtworks.xstream.io.HierarchicalStreamWriter
public class FlatHierarchicalStreamWriter
- extends Object
- implements com.thoughtworks.xstream.io.ExtendedHierarchicalStreamWriter
A hierarchical writer of flat files.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlatHierarchicalStreamWriter
public FlatHierarchicalStreamWriter(Node root,
Writer writer)
FlatHierarchicalStreamWriter
public FlatHierarchicalStreamWriter(TreeWriter writer)
startNode
public void startNode(String name,
Class clazz)
- Specified by:
startNode
in interface com.thoughtworks.xstream.io.ExtendedHierarchicalStreamWriter
startNode
public void startNode(String name)
- Specified by:
startNode
in interface com.thoughtworks.xstream.io.HierarchicalStreamWriter
addAttribute
public void addAttribute(String name,
String value)
- Specified by:
addAttribute
in interface com.thoughtworks.xstream.io.HierarchicalStreamWriter
setValue
public void setValue(String name)
- Specified by:
setValue
in interface com.thoughtworks.xstream.io.HierarchicalStreamWriter
endNode
public void endNode()
- Specified by:
endNode
in interface com.thoughtworks.xstream.io.HierarchicalStreamWriter
flush
public void flush()
- Specified by:
flush
in interface com.thoughtworks.xstream.io.HierarchicalStreamWriter
close
public void close()
- Specified by:
close
in interface com.thoughtworks.xstream.io.HierarchicalStreamWriter
underlyingWriter
public com.thoughtworks.xstream.io.HierarchicalStreamWriter underlyingWriter()
- Specified by:
underlyingWriter
in interface com.thoughtworks.xstream.io.HierarchicalStreamWriter
Copyright © 2011. All Rights Reserved.