com.thoughtworks.xstream.io.xml
Class JDomReader
java.lang.Object
com.thoughtworks.xstream.io.xml.AbstractTreeReader
com.thoughtworks.xstream.io.xml.JDomReader
- All Implemented Interfaces:
- HierarchicalStreamReader
- public class JDomReader
- extends AbstractTreeReader
- Author:
- Laurent Bihanic
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDomReader
public JDomReader(org.jdom.Element root)
JDomReader
public JDomReader(org.jdom.Document document)
reassignCurrentElement
protected void reassignCurrentElement(java.lang.Object current)
- Specified by:
reassignCurrentElement
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
getChildCount
protected int getChildCount()
- Specified by:
getChildCount
in class AbstractTreeReader
getNodeName
public java.lang.String getNodeName()
getValue
public java.lang.String getValue()
getAttribute
public java.lang.String getAttribute(java.lang.String name)
Joe Walnes, http://xstream.codehaus.org/