Example #1
0
 public NodeIterator createNodeIterator(Node root, long whatToShow = NodeFilter.SHOW_ALL, NodeFilter filter = null)
 {
     return new NodeIterator(root, whatToShow, filter);
 }
Example #2
0
 public TreeWalker createTreeWalker(Node root, long whatToShow = NodeFilter.SHOW_ALL, NodeFilter filter = null)
 {
     return new TreeWalker(root, whatToShow, filter);
 }
Example #3
0
 public NodeIterator(Node root, long whatToShow, NodeFilter filter)
     : base(root, whatToShow, filter)
 {
     this.referenceNode = root;
     this.pointerBeforeReferenceNode = true;
 }
Example #4
0
 public TreeWalker(Node root, long whatToShow, NodeFilter filter)
     : base(root, whatToShow, filter)
 {
     this.currentNode = root;
 }
Example #5
0
 public DomWalker(Node root, long whatToShow, NodeFilter filter)
 {
     this.root = root;
     this.whatToShow = whatToShow;
     this.filter = filter;
 }
Example #6
0
 public DomWalker(Node root, long whatToShow, NodeFilter filter)
 {
     this.root       = root;
     this.whatToShow = whatToShow;
     this.filter     = filter;
 }
Example #7
0
 public NodeIterator(Node root, long whatToShow, NodeFilter filter)
     : base(root, whatToShow, filter)
 {
     this.referenceNode = root;
     this.pointerBeforeReferenceNode = true;
 }