|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.apache.xerces.dom.NodeIteratorImpl
public class NodeIteratorImpl
DefaultNodeIterator implements a NodeIterator, which iterates a DOM tree in the expected depth first way.
The whatToShow and filter functionality is implemented as expected.
This class also has method removeNode to enable iterator "fix-up" on DOM remove. It is expected that the DOM implementation call removeNode right before the actual DOM transformation. If not called by the DOM, the client could call it before doing the removal.
Constructor Summary | |
---|---|
NodeIteratorImpl(DocumentImpl document,
Node root,
int whatToShow,
org.w3c.dom.traversal.NodeFilter nodeFilter,
boolean entityReferenceExpansion)
Deprecated. Public constructor |
Method Summary | |
---|---|
void |
detach()
Deprecated. |
boolean |
getExpandEntityReferences()
Deprecated. Return whether children entity references are included in the iterator. |
org.w3c.dom.traversal.NodeFilter |
getFilter()
Deprecated. Return the filter |
Node |
getRoot()
Deprecated. |
int |
getWhatToShow()
Deprecated. Return the whatToShow value |
Node |
nextNode()
Deprecated. Return the next Node in the Iterator. |
Node |
previousNode()
Deprecated. Return the previous Node in the Iterator. |
void |
removeNode(Node node)
Deprecated. 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, org.w3c.dom.traversal.NodeFilter nodeFilter, boolean entityReferenceExpansion)
Method Detail |
---|
public Node getRoot()
getRoot
in interface org.w3c.dom.traversal.NodeIterator
public int getWhatToShow()
getWhatToShow
in interface org.w3c.dom.traversal.NodeIterator
public org.w3c.dom.traversal.NodeFilter getFilter()
getFilter
in interface org.w3c.dom.traversal.NodeIterator
public boolean getExpandEntityReferences()
getExpandEntityReferences
in interface org.w3c.dom.traversal.NodeIterator
public Node nextNode()
nextNode
in interface org.w3c.dom.traversal.NodeIterator
public Node previousNode()
previousNode
in interface org.w3c.dom.traversal.NodeIterator
public void removeNode(Node node)
public void detach()
detach
in interface org.w3c.dom.traversal.NodeIterator
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs92 Copyright 2006 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |