|
Xerces 3.1.1 API: Class NodeIteratorImpl
org.apache.xerces.dom
|
Constructor Summary | |
NodeIteratorImpl(DocumentImpl document,
Node root,
int whatToShow,
NodeFilter nodeFilter,
boolean entityReferenceExpansion)
Public constructor |
Method Summary | |
void |
detach()
Detaches the NodeIterator from the set which it iterated
over, releasing any computational resources and placing the iterator
in the INVALID state. |
boolean |
getExpandEntityReferences()
Return whether children entity references are included in the iterator. |
NodeFilter |
getFilter()
Return the filter |
Node |
getRoot()
The root node of the NodeIterator , as specified when it
was created. |
int |
getWhatToShow()
Return the whatToShow value |
Node |
nextNode()
Return the next Node in the Iterator. |
Node |
previousNode()
Return the previous Node in the Iterator. |
void |
removeNode(Node node)
Fix-up the iterator on a remove. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public NodeIteratorImpl(DocumentImpl document, Node root, int whatToShow, NodeFilter nodeFilter, boolean entityReferenceExpansion)
Method Detail |
public Node getRoot()
NodeIterator
, as specified when it
was created.public int getWhatToShow()
public NodeFilter getFilter()
public boolean getExpandEntityReferences()
public Node nextNode()
Node
in the set being iterated over, or
null
if there are no more members in that set.detach
method was invoked.public Node previousNode()
Node
in the set being iterated over,
or null
if there are no more members in that set.detach
method was invoked.public void removeNode(Node node)
public void detach()
NodeIterator
from the set which it iterated
over, releasing any computational resources and placing the iterator
in the INVALID state. After detach
has been invoked,
calls to nextNode
or previousNode
will
raise the exception INVALID_STATE_ERR.
|
Xerces 3.1.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |