|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.xml.xmlc.dom.generic.ContainedNodeEnum
Enumeration over the nodes contained by another node. This provides a way of find traversing standard children, attributes and document type entity and notation nodes in the same way.
Field Summary | |
static int |
ALL
|
static int |
ATTRIBUTES
|
static int |
CHILDREN
|
static int |
ENTITIES
|
static int |
NONE
Types of contained nodes to enumerate. |
static int |
NOTATIONS
|
Constructor Summary | |
ContainedNodeEnum(Node parent)
Constructor for enumerating all nodes types |
|
ContainedNodeEnum(Node parent,
int filterSet)
Constructor with filter for node types |
Method Summary | |
boolean |
hasMoreElements()
Tests if this enumeration contains more elements. |
java.lang.Object |
nextElement()
Returns the next element of this enumeration |
Node |
nextNode()
Returns the next node of this enumeration, or null if no more. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int NONE
public static final int CHILDREN
public static final int ATTRIBUTES
public static final int ENTITIES
public static final int NOTATIONS
public static final int ALL
Constructor Detail |
public ContainedNodeEnum(Node parent, int filterSet)
public ContainedNodeEnum(Node parent)
Method Detail |
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
public Node nextNode() throws java.util.NoSuchElementException
java.util.NoSuchElementException
public java.lang.Object nextElement() throws java.util.NoSuchElementException
nextElement
in interface java.util.Enumeration
java.util.NoSuchElementException
|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |