|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscone.util.NodeEnumeration
public class NodeEnumeration
represents the children of a specified XML node which have the specified name
| Field Summary | |
|---|---|
protected org.w3c.dom.NodeList |
list
|
protected java.lang.String |
name
|
protected org.w3c.dom.Node |
nextNode
|
protected int |
pos
|
| Constructor Summary | |
|---|---|
NodeEnumeration(org.w3c.dom.Node parentNode,
java.lang.String childName)
creates a NodeEnumeration |
|
| Method Summary | |
|---|---|
protected org.w3c.dom.Node |
findNext()
returns the next child node |
boolean |
hasMoreNodes()
returns true if nextNode() will return another child node |
org.w3c.dom.Node |
nextNode()
returns the next child node |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.w3c.dom.NodeList list
protected int pos
protected java.lang.String name
protected org.w3c.dom.Node nextNode
| Constructor Detail |
|---|
public NodeEnumeration(org.w3c.dom.Node parentNode,
java.lang.String childName)
parentNode - the parent NodechildName - the name of the children| Method Detail |
|---|
public boolean hasMoreNodes()
protected org.w3c.dom.Node findNext()
public org.w3c.dom.Node nextNode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||