

PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 
Object  +mozile.dom.TreeWalker
Field Summary  
Node 
currentNode
A reference to the current node being examined by this TreeWalker. 
Boolean 
expandEntityReferences
Indicates whether entity references should be expanded. 
NodeFIlter 
filter
A NodeFilter object which will be used to filter the nodes. 
Element 
root
The root of the tree being walked. 
Integer 
whatToShow
A flag indicating which node types to show. 
Method Summary  
Node

firstChild()
The firstChild() method looks through the current node's child nodes (starting with the first child and working down) to find a child that passes the treeWalker's filter. 
Node

lastChild()
The lastChild() method looks through the current node's child nodes (starting with the last child and working up) to find a child that passes the treeWalker's filter. 
Node

nextNode()
The nextNode() and previousNode() methods look at a flattened version of the document (instead of the other methods that preserve the document's structure). 
Node

nextSibling()
The nextSibling() method looks through the current node's siblings nodes (starting with the next sibling and working down) to find a sibling that passes the treeWalker's filter. 
Node

parentNode()
The parentNode() method looks at the current node's ancestor nodes (starting with the parent node and working up) to find the first ancestor that passes the treeWalker's filter. 
Node

previousNode()
The nextNode() and previousNode() methods look at a flattened version of the document (instead of the other methods that preserve the document's structure). 
Node

previousSibling()
The previousSibling() method looks through the current node's siblings nodes (starting with the previous sibling and working up) to find a sibling that passes the treeWalker's filter. 
Field Detail 
Node currentNode
Boolean expandEntityReferences
NodeFIlter filter
Element root
Integer whatToShow
Method Detail 
Node firstChild()
Node lastChild()
Node nextNode()
Node nextSibling()
Node parentNode()
Node previousNode()
Node previousSibling()


PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 