1 16 package com.google.gwt.xml.client; 17 18 23 public interface Node { 24 27 public static final short ELEMENT_NODE = 1; 28 29 32 public static final short ATTRIBUTE_NODE = 2; 33 34 37 public static final short TEXT_NODE = 3; 38 39 42 public static final short CDATA_SECTION_NODE = 4; 43 44 47 public static final short ENTITY_REFERENCE_NODE = 5; 48 49 52 public static final short ENTITY_NODE = 6; 53 54 57 public static final short PROCESSING_INSTRUCTION_NODE = 7; 58 59 62 public static final short COMMENT_NODE = 8; 63 64 67 public static final short DOCUMENT_NODE = 9; 68 69 72 public static final short DOCUMENT_TYPE_NODE = 10; 73 74 77 public static final short DOCUMENT_FRAGMENT_NODE = 11; 78 79 82 public static final short NOTATION_NODE = 12; 83 84 90 public Node appendChild(Node newChild); 91 92 98 public Node cloneNode(boolean deep); 99 100 105 public NamedNodeMap getAttributes(); 106 107 112 public NodeList getChildNodes(); 113 114 119 public Node getFirstChild(); 120 121 126 public Node getLastChild(); 127 128 133 public String getNamespaceURI(); 134 135 140 public Node getNextSibling(); 141 142 147 public String getNodeName(); 148 149 154 public short getNodeType(); 155 156 161 public String getNodeValue(); 162 163 168 public Document getOwnerDocument(); 169 170 175 public Node getParentNode(); 176 177 182 public String getPrefix(); 183 184 189 public Node getPreviousSibling(); 190 191 196 public boolean hasAttributes(); 197 198 204 public boolean hasChildNodes(); 205 206 214 public Node insertBefore(Node newChild, Node refChild); 215 216 220 public void normalize(); 221 222 228 public Node removeChild(Node oldChild); 229 230 238 public Node replaceChild(Node newChild, Node oldChild); 239 240 245 public void setNodeValue(String nodeValue); 246 247 } | Popular Tags |