Lines Matching refs:Node
24 import org.w3c.dom.Node;
37 * <p>This class represents a Node that has a parent Node as well as
51 public Node appendChild(Node newChild) throws DOMException {
65 public Node getFirstChild() {
69 public Node getLastChild() {
73 public Node getNextSibling() {
85 public Node insertBefore(Node newChild, Node refChild) throws DOMException {
107 Node insertChildAt(Node newChild, int index) throws DOMException {
137 public boolean isParentOf(Node node) {
157 Node next;
158 for (Node node = getFirstChild(); node != null; node = next) {
162 if (node.getNodeType() == Node.TEXT_NODE) {
174 public Node removeChild(Node oldChild) throws DOMException {
196 public Node replaceChild(Node newChild, Node oldChild) throws DOMException {
204 Node child = getFirstChild();
209 Node next = child.getNextSibling();
220 Node child = getFirstChild();
229 final boolean hasTextContent(Node child) {
231 return child.getNodeType() != Node.COMMENT_NODE
232 && child.getNodeType() != Node.PROCESSING_INSTRUCTION_NODE;
237 if (node.getNodeType() == Node.ELEMENT_NODE) {
249 if (node.getNodeType() == Node.ELEMENT_NODE) {