flattree.xstream
Class FlatHierarchicalStreamReader
java.lang.Object
flattree.xstream.FlatHierarchicalStreamReader
- All Implemented Interfaces:
- com.thoughtworks.xstream.io.HierarchicalStreamReader
public class FlatHierarchicalStreamReader
- extends Object
- implements com.thoughtworks.xstream.io.HierarchicalStreamReader
A hierarchical reader of flat files.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlatHierarchicalStreamReader
public FlatHierarchicalStreamReader(Node root,
Reader reader)
FlatHierarchicalStreamReader
public FlatHierarchicalStreamReader(TreeReader reader)
getNodeName
public String getNodeName()
- Specified by:
getNodeName
in interface com.thoughtworks.xstream.io.HierarchicalStreamReader
getValue
public String getValue()
- Specified by:
getValue
in interface com.thoughtworks.xstream.io.HierarchicalStreamReader
getAttributeCount
public int getAttributeCount()
- Specified by:
getAttributeCount
in interface com.thoughtworks.xstream.io.HierarchicalStreamReader
getAttributeNames
public Iterator getAttributeNames()
- Specified by:
getAttributeNames
in interface com.thoughtworks.xstream.io.HierarchicalStreamReader
getAttributeName
public String getAttributeName(int index)
- Specified by:
getAttributeName
in interface com.thoughtworks.xstream.io.HierarchicalStreamReader
getAttribute
public String getAttribute(String name)
- Specified by:
getAttribute
in interface com.thoughtworks.xstream.io.HierarchicalStreamReader
getAttribute
public String getAttribute(int index)
- Specified by:
getAttribute
in interface com.thoughtworks.xstream.io.HierarchicalStreamReader
hasMoreChildren
public boolean hasMoreChildren()
- Specified by:
hasMoreChildren
in interface com.thoughtworks.xstream.io.HierarchicalStreamReader
moveDown
public void moveDown()
- Specified by:
moveDown
in interface com.thoughtworks.xstream.io.HierarchicalStreamReader
moveUp
public void moveUp()
- Specified by:
moveUp
in interface com.thoughtworks.xstream.io.HierarchicalStreamReader
appendErrors
public void appendErrors(com.thoughtworks.xstream.converters.ErrorWriter arg0)
- Specified by:
appendErrors
in interface com.thoughtworks.xstream.io.HierarchicalStreamReader
close
public void close()
- Specified by:
close
in interface com.thoughtworks.xstream.io.HierarchicalStreamReader
underlyingReader
public com.thoughtworks.xstream.io.HierarchicalStreamReader underlyingReader()
- Specified by:
underlyingReader
in interface com.thoughtworks.xstream.io.HierarchicalStreamReader
Copyright © 2011. All Rights Reserved.