com.thoughtworks.xstream.io.xml
Class XomReader
java.lang.Object
com.thoughtworks.xstream.io.xml.AbstractTreeReader
com.thoughtworks.xstream.io.xml.XomReader
- All Implemented Interfaces:
- HierarchicalStreamReader
- public class XomReader
- extends AbstractTreeReader
Constructor Summary |
XomReader(nu.xom.Document document)
|
XomReader(nu.xom.Element rootElement)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XomReader
public XomReader(nu.xom.Element rootElement)
XomReader
public XomReader(nu.xom.Document document)
getNodeName
public java.lang.String getNodeName()
getValue
public java.lang.String getValue()
getAttribute
public java.lang.String getAttribute(java.lang.String name)
getChildCount
protected int getChildCount()
- Specified by:
getChildCount
in class AbstractTreeReader
getParent
protected java.lang.Object getParent()
- Specified by:
getParent
in class AbstractTreeReader
getChild
protected java.lang.Object getChild(int index)
- Specified by:
getChild
in class AbstractTreeReader
reassignCurrentElement
protected void reassignCurrentElement(java.lang.Object current)
- Specified by:
reassignCurrentElement
in class AbstractTreeReader
Joe Walnes, http://xstream.codehaus.org/