org.eclipse.actf.util.dom
Class NodeIteratorImpl
java.lang.Object
   org.eclipse.actf.util.dom.NodeIteratorImpl
org.eclipse.actf.util.dom.NodeIteratorImpl
- All Implemented Interfaces: 
- org.w3c.dom.traversal.NodeIterator
- public class NodeIteratorImpl 
- extends Object- implements org.w3c.dom.traversal.NodeIterator
Implementation class of NodeIterator
 
 
 
NodeIteratorImpl
public NodeIteratorImpl(Node root,
                        int whatToShow,
                        org.w3c.dom.traversal.NodeFilter filter,
                        boolean entityReferenceExpansion)
                 throws DOMException
- Constructor of NodeIterator
 
- Parameters:
- root- the root node of the NodeIterator
- whatToShow- the attribute that determines which types of node are
            presented. The values are defined in the NodeFilter interface.
- filter- the NodeFilter used to screen nodes
- entityReferenceExpansion- the flag to determine whether the children of entity reference
            nodes are visible to TreeWalker.
- Throws:
- DOMException
 
detach
public void detach()
- 
- Specified by:
- detachin interface- org.w3c.dom.traversal.NodeIterator
 
- 
 
getExpandEntityReferences
public boolean getExpandEntityReferences()
- 
- Specified by:
- getExpandEntityReferencesin interface- org.w3c.dom.traversal.NodeIterator
 
- 
 
getFilter
public org.w3c.dom.traversal.NodeFilter getFilter()
- 
- Specified by:
- getFilterin interface- org.w3c.dom.traversal.NodeIterator
 
- 
 
getRoot
public Node getRoot()
- 
- Specified by:
- getRootin interface- org.w3c.dom.traversal.NodeIterator
 
- 
 
getWhatToShow
public int getWhatToShow()
- 
- Specified by:
- getWhatToShowin interface- org.w3c.dom.traversal.NodeIterator
 
- 
 
nextNode
public Node nextNode()
              throws DOMException
- 
- Specified by:
- nextNodein interface- org.w3c.dom.traversal.NodeIterator
 
- 
- Throws:
- DOMException
 
previousNode
public Node previousNode()
                  throws DOMException
- 
- Specified by:
- previousNodein interface- org.w3c.dom.traversal.NodeIterator
 
- 
- Throws:
- DOMException
 
prepareNodeRemove
public void prepareNodeRemove(Node target)
- Call this method before remove Node from target document
 
- 
 
- 
- Parameters:
- target- the target Node to be removed