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