com.thoughtworks.xstream.xml.dom4j
Class Dom4JXMLReader
java.lang.Object
|
+--com.thoughtworks.xstream.xml.dom4j.Dom4JXMLReader
- All Implemented Interfaces:
- XMLReader
- public class Dom4JXMLReader
- extends java.lang.Object
- implements XMLReader
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Dom4JXMLReader
public Dom4JXMLReader(org.dom4j.Element rootElement)
Dom4JXMLReader
public Dom4JXMLReader(org.dom4j.Document document)
name
public java.lang.String name()
- Specified by:
name
in interface XMLReader
text
public java.lang.String text()
- Specified by:
text
in interface XMLReader
attribute
public java.lang.String attribute(java.lang.String name)
- Specified by:
attribute
in interface XMLReader
childCount
public int childCount()
- Specified by:
childCount
in interface XMLReader
child
public void child(int index)
- Specified by:
child
in interface XMLReader
child
public void child(java.lang.String elementName)
- Specified by:
child
in interface XMLReader
pop
public void pop()
- Specified by:
pop
in interface XMLReader
childExists
public boolean childExists(java.lang.String elementName)
- Specified by:
childExists
in interface XMLReader
Copyright © 2003 ThoughtWorks, Inc. All Rights Reserved.