Class mozile.dom.TreeWalker

Object
   |
   +--mozile.dom.TreeWalker

class 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

currentNode

Node currentNode

expandEntityReferences

Boolean expandEntityReferences

filter

NodeFIlter filter

root

Element root

whatToShow

Integer whatToShow


Method Detail

firstChild

Node firstChild()

lastChild

Node lastChild()

nextNode

Node nextNode()

nextSibling

Node nextSibling()

parentNode

Node parentNode()

previousNode

Node previousNode()

previousSibling

Node previousSibling()


Documentation generated by JSDoc on Wed Feb 20 13:25:28 2008