|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xerces.dom.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,
org.w3c.dom.Node root,
int whatToShow,
org.w3c.dom.traversal.NodeFilter nodeFilter,
boolean entityReferenceExpansion)
Public constructor |
Method Summary | |
void |
detach()
|
boolean |
getExpandEntityReferences()
Return whether children entity references are included in the iterator. |
org.w3c.dom.traversal.NodeFilter |
getFilter()
Return the filter |
org.w3c.dom.Node |
getRoot()
|
int |
getWhatToShow()
Return the whatToShow value |
org.w3c.dom.Node |
nextNode()
Return the next Node in the Iterator. |
org.w3c.dom.Node |
previousNode()
Return the previous Node in the Iterator. |
void |
removeNode(org.w3c.dom.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, org.w3c.dom.Node root, int whatToShow, org.w3c.dom.traversal.NodeFilter nodeFilter, boolean entityReferenceExpansion)
Method Detail |
public org.w3c.dom.Node getRoot()
public int getWhatToShow()
public org.w3c.dom.traversal.NodeFilter getFilter()
public boolean getExpandEntityReferences()
public org.w3c.dom.Node nextNode()
public org.w3c.dom.Node previousNode()
public void removeNode(org.w3c.dom.Node node)
public void detach()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |