com.thoughtworks.xstream.io.xml
Class XppDomReader

java.lang.Object
  extended bycom.thoughtworks.xstream.io.xml.AbstractTreeReader
      extended bycom.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)
           
 
Method Summary
 java.lang.String getAttribute(java.lang.String attributeName)
           
protected  java.lang.Object getChild(int index)
           
protected  int getChildCount()
           
 java.lang.String getNodeName()
           
protected  java.lang.Object getParent()
           
 java.lang.String getValue()
           
protected  void reassignCurrentElement(java.lang.Object current)
           
 
Methods inherited from class com.thoughtworks.xstream.io.xml.AbstractTreeReader
appendErrors, hasMoreChildren, moveDown, moveUp, peekUnderlyingNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XppDomReader

public XppDomReader(com.thoughtworks.xstream.io.xml.xppdom.Xpp3Dom xpp3Dom)
Method Detail

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/