<static> Object __mozile.dom.TreeWalker()
The TreeWalker is used to traverse the DOM tree.
root - A reference to the node that will serve as the root of the TreeWalker.
whatToShow - A bitmask of one or more of the NodeFilter flags that indicate what node types to look at. Though all the NodeFilter flags are defined, only the following will actually work in IE5-6: NodeFilter.SHOW_ALL, NodeFilter.SHOW_ELEMENT, NodeFilter.SHOW_ELEMENT, NodeFilter.SHOW_ATTRIBUTE, NodeFilter.SHOW_TEXT, NodeFilter.SHOW_COMMENT, NodeFilter.SHOW_DOCUMENT, NodeFilter.SHOW_DOCUMENT_FRAGMENT.
filter - This is an object that has an acceptNode() method which accepts a node as it's single argument and returns either NodeFilter.FILTER_ACCEPT, NodeFilter.FILTER_REJECT, or NodeFilter.FILTER_SKIP to indicate if the node should be included in the TreeWalker.
expandEntityReferences - Not implemented. A boolean to indicate if entity references should be expanded. Because this script was developed for HTML documents, this argument is ignored.
Documentation generated by JSDoc
on Wed Feb 20 13:25:28 2008