createNodeIterator
| root whatToShow filter entityReferenceExpansion
|
This method functions only if the current object implements interface
org.w3c.dom.traversal.DocumentTraversal. The parameters are all required:
root is an org.w3c.dom.Node; whatToShow is a
short integer that is the combination of flags defined in
org.w3c.dom.traversal.NodeFilter; filter can be an instance of
org.w3c.dom.traversal.NodeFilter, or a node-filter function that takes an
org.w3c.dom.Node and returns one of the following:
org.w3c.dom.traversal.NodeFilter::FILTER_ACCEPT,
org.w3c.dom.traversal.NodeFilter::FILTER_REJECT or
org.w3c.dom.traversal.NodeFilter::FILTER_SKIP;
and finally, entityReferenceExpansion is a boolean.
It create a new NodeIterator over the subtree rooted at the specified node, as stated
in the javadoc for the name-sake method of org.w3c.dom.traversal.DocumentTraversal.
|
createTreeWalker
| root whatToShow filter entityReferenceExpansion
|
This method functions only if the current object implements interface
org.w3c.dom.traversal.DocumentTraversal. The parameters are all required:
root is an org.w3c.dom.Node; whatToShow is a
short integer that is the combination of flags defined in
org.w3c.dom.traversal.NodeFilter; filter can be an instance of
org.w3c.dom.traversal.NodeFilter, or a node-filter function that takes an
org.w3c.dom.Node and returns one of the following:
org.w3c.dom.traversal.NodeFilter::FILTER_ACCEPT,
org.w3c.dom.traversal.NodeFilter::FILTER_REJECT or
org.w3c.dom.traversal.NodeFilter::FILTER_SKIP;
and finally, entityReferenceExpansion is a boolean.
Create a new TreeWalker over the subtree rooted at the specified node, as stated
in the javadoc for the name-sake method of org.w3c.dom.traversal.DocumentTraversal.
|