Package org.loboevolution.traversal
Interface DocumentTraversal
- All Known Subinterfaces:
Document,HTMLDocument,SMILDocument
- All Known Implementing Classes:
DocumentImpl,DTMNodeProxy,HTMLDocumentImpl,XMLDocument
public interface DocumentTraversal
NodeFilter interface.
-
Method Summary
Modifier and TypeMethodDescriptioncreateNodeIterator(Node root) Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.createNodeIterator(Node root, int whatToShow) Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.createNodeIterator(Node root, int whatToShow, NodeFilter filter) Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.createNodeIterator(Node root, NodeFilter filter) Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.createTreeWalker(Node root) createTreeWalker.createTreeWalker(Node root, int whatToShow) createTreeWalker.createTreeWalker(Node root, int whatToShow, NodeFilter filter) createTreeWalker.createTreeWalker(Node root, NodeFilter filter) createTreeWalker.
-
Method Details
-
createNodeIterator
Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.- Parameters:
root- aNodeobject.- Throws:
DOMException
-
createNodeIterator
Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.- Parameters:
root- aNodeobject.whatToShow- aIntegerobject.- Throws:
DOMException
-
createNodeIterator
Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.- Parameters:
root- aNodeobject.filter- aNodeFilterobject.- Throws:
DOMException
-
createNodeIterator
Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.- Parameters:
root- aNodeobject.whatToShow- aIntegerobject.filter- aNodeFilterobject.- Throws:
DOMException
-
createTreeWalker
createTreeWalker.
- Parameters:
root- aNodeobject.- Throws:
DOMException
-
createTreeWalker
createTreeWalker.
- Parameters:
root- aNodeobject.whatToShow- aIntegerobject.- Throws:
DOMException
-
createTreeWalker
createTreeWalker.
- Parameters:
root- aNodeobject.filter- aNodeFilterobject.- Throws:
DOMException
-
createTreeWalker
createTreeWalker.
- Parameters:
root- aNodeobject.whatToShow- aIntegerobject.filter- aNodeFilterobject.- Throws:
DOMException
-