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