com.thoughtworks.xstream.io.xml
Class XppDomReader
java.lang.Object
com.thoughtworks.xstream.io.xml.AbstractTreeReader
com.thoughtworks.xstream.io.xml.XppDomReader
- All Implemented Interfaces:
- HierarchicalStreamReader
- public class XppDomReader
- extends AbstractTreeReader
- Version:
- $Id: XppDomReader.java,v 1.4 2004/09/02 20:44:33 joe Exp $
- Author:
- Jason van Zyl
Constructor Summary |
XppDomReader(com.thoughtworks.xstream.io.xml.xppdom.Xpp3Dom xpp3Dom)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XppDomReader
public XppDomReader(com.thoughtworks.xstream.io.xml.xppdom.Xpp3Dom xpp3Dom)
getNodeName
public java.lang.String getNodeName()
getValue
public java.lang.String getValue()
getAttribute
public java.lang.String getAttribute(java.lang.String attributeName)
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
getChildCount
protected int getChildCount()
- Specified by:
getChildCount
in class AbstractTreeReader
reassignCurrentElement
protected void reassignCurrentElement(java.lang.Object current)
- Specified by:
reassignCurrentElement
in class AbstractTreeReader
Joe Walnes, http://xstream.codehaus.org/