public class

Dom4JReader

extends AbstractDocumentReader
java.lang.Object
   ↳ com.thoughtworks.xstream.io.xml.AbstractXmlReader
     ↳ com.thoughtworks.xstream.io.xml.AbstractDocumentReader
       ↳ com.thoughtworks.xstream.io.xml.Dom4JReader

Summary

Public Constructors
Dom4JReader(Element rootElement)
Dom4JReader(Document document)
Dom4JReader(Element rootElement, XmlFriendlyReplacer replacer)
Dom4JReader(Document document, XmlFriendlyReplacer replacer)
Public Methods
void appendErrors(ErrorWriter errorWriter)
If any errors are detected, allow the reader to add any additional information that can aid debugging (such as line numbers, XPath expressions, etc).
String getAttribute(String name)
String getAttribute(int index)
int getAttributeCount()
String getAttributeName(int index)
String getNodeName()
String getValue()
Protected Methods
Object getChild(int index)
int getChildCount()
Object getParent()
void reassignCurrentElement(Object current)
[Expand]
Inherited Methods
From class com.thoughtworks.xstream.io.xml.AbstractDocumentReader
From class com.thoughtworks.xstream.io.xml.AbstractXmlReader
From class java.lang.Object
From interface com.thoughtworks.xstream.io.HierarchicalStreamReader
From interface com.thoughtworks.xstream.io.xml.DocumentReader
From interface com.thoughtworks.xstream.io.xml.XmlFriendlyReader

Public Constructors

public Dom4JReader (Element rootElement)

public Dom4JReader (Document document)

public Dom4JReader (Element rootElement, XmlFriendlyReplacer replacer)

public Dom4JReader (Document document, XmlFriendlyReplacer replacer)

Public Methods

public void appendErrors (ErrorWriter errorWriter)

If any errors are detected, allow the reader to add any additional information that can aid debugging (such as line numbers, XPath expressions, etc).

public String getAttribute (String name)

public String getAttribute (int index)

public int getAttributeCount ()

public String getAttributeName (int index)

public String getNodeName ()

public String getValue ()

Protected Methods

protected Object getChild (int index)

protected int getChildCount ()

protected Object getParent ()

protected void reassignCurrentElement (Object current)