|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsferyx.administration.renderers.parser.xml.ElementIterator
public class ElementIterator
Constructor Summary | |
---|---|
ElementIterator(org.w3c.dom.Document document)
Creates a new ElementIterator. |
|
ElementIterator(org.w3c.dom.Element root)
Creates a new ElementIterator. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clones the ElementIterator. |
org.w3c.dom.Node |
current()
Fetches the current Element. |
int |
depth()
Fetches the current depth of element tree. |
void |
dumpNode(org.w3c.dom.Node elem)
|
void |
dumpTree()
|
org.w3c.dom.Element |
first()
Fetches the first element. |
org.w3c.dom.Node |
next()
Fetches the next Element. |
org.w3c.dom.Node |
previous()
Fetches the previous Element. |
void |
setCallback(Callback callback)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ElementIterator(org.w3c.dom.Document document)
document
- a Document.public ElementIterator(org.w3c.dom.Element root)
root
- the root Element.Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
public org.w3c.dom.Element first()
public int depth()
public org.w3c.dom.Node current()
null
if the root element is null
public org.w3c.dom.Node next()
null
at the end of the list.public org.w3c.dom.Node previous()
Element
if availablepublic void dumpTree()
public void dumpNode(org.w3c.dom.Node elem)
public void setCallback(Callback callback)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |