1 12 13 package org.w3c.dom.traversal; 14 15 import org.w3c.dom.Node ; 16 import org.w3c.dom.DOMException ; 17 18 36 public interface TreeWalker { 37 41 public Node getRoot(); 42 43 51 public int getWhatToShow(); 52 53 56 public NodeFilter getFilter(); 57 58 73 public boolean getExpandEntityReferences(); 74 75 87 public Node getCurrentNode(); 88 103 public void setCurrentNode(Node currentNode) 104 throws DOMException ; 105 106 115 public Node parentNode(); 116 117 125 public Node firstChild(); 126 127 135 public Node lastChild(); 136 137 145 public Node previousSibling(); 146 147 154 public Node nextSibling(); 155 156 166 public Node previousNode(); 167 168 177 public Node nextNode(); 178 179 } 180 | Popular Tags |