DOMNodeHelper contains a collection of utility methods for use
across Node implementations.
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final NodeList |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static Node | |
| public static void | |
| public static void | |
| public static void | |
| public static Attr | |
| public static Document | |
| public static DocumentType | |
| public static Element | |
| public static Node | |
| public static Text | |
| public static Node | |
| public static NodeList | |
| public static void | |
| public static NamedNodeMap | |
| public static NodeList | |
| public static String | |
| public static Node | |
| public static Node | |
| public static int | |
| public static String | |
| public static String | |
| public static Node | |
| public static String | |
| public static Document | |
| public static Node | |
| public static String | |
| public static Node | |
| public static boolean | |
| public static boolean | |
| public static Node | |
| public static void | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static void | |
| public static void | |
| public static Node | |
| public static Node | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static String | |
| public static boolean |
| EMPTY_NODE_LIST | back to summary |
|---|---|
| public static final NodeList EMPTY_NODE_LIST | |
| DOMNodeHelper | back to summary |
|---|---|
| protected DOMNodeHelper() | |
| appendChild | back to summary |
|---|---|
| public static Node appendChild(Node node, Node newChild) throws DOMException | |
| appendData | back to summary |
|---|---|
| public static void appendData(CharacterData charData, String arg) throws DOMException | |
| appendElementsByTagName | back to summary |
|---|---|
| public static void appendElementsByTagName(List<? super Element> list, Branch parent, String name) | |
| appendElementsByTagNameNS | back to summary |
|---|---|
| public static void appendElementsByTagNameNS(List<? super Element> list, Branch parent, String namespace, String localName) | |
| asDOMAttr | back to summary |
|---|---|
| public static Attr asDOMAttr(Node attribute) | |
| asDOMDocument | back to summary |
|---|---|
| public static Document asDOMDocument(Document document) | |
| asDOMDocumentType | back to summary |
|---|---|
| public static DocumentType asDOMDocumentType(DocumentType dt) | |
| asDOMElement | back to summary |
|---|---|
| public static Element asDOMElement(Node element) | |
| asDOMNode | back to summary |
|---|---|
| public static Node asDOMNode(Node node) | |
| asDOMText | back to summary |
|---|---|
| public static Text asDOMText(CharacterData text) | |
| cloneNode | back to summary |
|---|---|
| public static Node cloneNode(Node node, boolean deep) | |
| createNodeList | back to summary |
|---|---|
| public static NodeList createNodeList(final List<Node> list) | |
| deleteData | back to summary |
|---|---|
| public static void deleteData(CharacterData charData, int offset, int count) throws DOMException | |
| getAttributes | back to summary |
|---|---|
| public static NamedNodeMap getAttributes(Node node) | |
| getChildNodes | back to summary |
|---|---|
| public static NodeList getChildNodes(Node node) | |
| getData | back to summary |
|---|---|
| public static String getData(CharacterData charData) throws DOMException | |
| getFirstChild | back to summary |
|---|---|
| public static Node getFirstChild(Node node) | |
| getLastChild | back to summary |
|---|---|
| public static Node getLastChild(Node node) | |
| getLength | back to summary |
|---|---|
| public static int getLength(CharacterData charData) | |
| getLocalName | back to summary |
|---|---|
| public static String getLocalName(Node node) | |
| getNamespaceURI | back to summary |
|---|---|
| public static String getNamespaceURI(Node node) | |
| getNextSibling | back to summary |
|---|---|
| public static Node getNextSibling(Node node) | |
| getNodeValue | back to summary |
|---|---|
| public static String getNodeValue(Node node) throws DOMException | |
| getOwnerDocument | back to summary |
|---|---|
| public static Document getOwnerDocument(Node node) | |
| getParentNode | back to summary |
|---|---|
| public static Node getParentNode(Node node) | |
| getPrefix | back to summary |
|---|---|
| public static String getPrefix(Node node) | |
| getPreviousSibling | back to summary |
|---|---|
| public static Node getPreviousSibling(Node node) | |
| hasAttributes | back to summary |
|---|---|
| public static boolean hasAttributes(Node node) | |
| hasChildNodes | back to summary |
|---|---|
| public static boolean hasChildNodes(Node node) | |
| insertBefore | back to summary |
|---|---|
| public static Node insertBefore(Node node, Node newChild, Node refChild) throws DOMException | |
| insertData | back to summary |
|---|---|
| public static void insertData(CharacterData data, int offset, String arg) throws DOMException | |
| isNodeEquals | back to summary |
|---|---|
| public static boolean isNodeEquals(Node node1, Node node2) | |
| isNodeSame | back to summary |
|---|---|
| public static boolean isNodeSame(Node node1, Node node2) | |
| isStringEquals | back to summary |
|---|---|
| public static boolean isStringEquals(String string1, String string2) | |
| isSupported | back to summary |
|---|---|
| public static boolean isSupported(Node n, String feature, String version) | |
| normalize | back to summary |
|---|---|
| public static void normalize(Node node) | |
| notSupported | back to summary |
|---|---|
| public static void notSupported() Called when a method has not been implemented yet
| |
| removeChild | back to summary |
|---|---|
| public static Node removeChild(Node node, Node oldChild) throws DOMException | |
| replaceChild | back to summary |
|---|---|
| public static Node replaceChild(Node node, Node newChild, Node oldChild) throws DOMException | |
| replaceData | back to summary |
|---|---|
| public static void replaceData(CharacterData charData, int offset, int count, String arg) throws DOMException | |
| setData | back to summary |
|---|---|
| public static void setData(CharacterData charData, String data) throws DOMException | |
| setNodeValue | back to summary |
|---|---|
| public static void setNodeValue(Node node, String nodeValue) throws DOMException | |
| setPrefix | back to summary |
|---|---|
| public static void setPrefix(Node node, String prefix) throws DOMException | |
| substringData | back to summary |
|---|---|
| public static String substringData(CharacterData charData, int offset, int count) throws DOMException | |
| supports | back to summary |
|---|---|
| public static boolean supports(Node node, String feature, String version) | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public Node | item(int
Index into the collection. index)Implements org. indexth item in the collection.
|
| EmptyNodeList | back to summary |
|---|---|
| public EmptyNodeList() | |
| getLength | back to summary |
|---|---|
| public int getLength() Implements org. Doc from org. The number of nodes in the list. The range of valid child node indices
is 0 to | |
| item | back to summary |
|---|---|
| public Node item(int index) Implements org. Doc from org. Returns the
| |