org.dom4j.dom
public class DOMNodeHelper extends Object
DOMNodeHelper contains a collection of utility methods for use
across Node implementations.
Version: $Revision: 1.20 $
| Nested Class Summary | |
|---|---|
| static class | DOMNodeHelper.EmptyNodeList |
| Field Summary | |
|---|---|
| static NodeList | EMPTY_NODE_LIST |
| Constructor Summary | |
|---|---|
| protected | DOMNodeHelper() |
| Method Summary | |
|---|---|
| static Node | appendChild(Node node, Node newChild) |
| static void | appendData(CharacterData charData, String arg) |
| static void | appendElementsByTagName(List list, Branch parent, String name) |
| static void | appendElementsByTagNameNS(List list, Branch parent, String namespace, String localName) |
| static Attr | asDOMAttr(Node attribute) |
| static Document | asDOMDocument(Document document) |
| static DocumentType | asDOMDocumentType(DocumentType dt) |
| static Element | asDOMElement(Node element) |
| static Node | asDOMNode(Node node) |
| static Text | asDOMText(CharacterData text) |
| static Node | cloneNode(Node node, boolean deep) |
| static NodeList | createNodeList(List list) |
| static void | deleteData(CharacterData charData, int offset, int count) |
| static NamedNodeMap | getAttributes(Node node) |
| static NodeList | getChildNodes(Node node) |
| static String | getData(CharacterData charData) |
| static Node | getFirstChild(Node node) |
| static Node | getLastChild(Node node) |
| static int | getLength(CharacterData charData) |
| static String | getLocalName(Node node) |
| static String | getNamespaceURI(Node node) |
| static Node | getNextSibling(Node node) |
| static String | getNodeValue(Node node) |
| static Document | getOwnerDocument(Node node) |
| static Node | getParentNode(Node node) |
| static String | getPrefix(Node node) |
| static Node | getPreviousSibling(Node node) |
| static boolean | hasAttributes(Node node) |
| static boolean | hasChildNodes(Node node) |
| static Node | insertBefore(Node node, Node newChild, Node refChild) |
| static void | insertData(CharacterData data, int offset, String arg) |
| static boolean | isSupported(Node n, String feature, String version) |
| static void | normalize(Node node) |
| static void | notSupported()
Called when a method has not been implemented yet
|
| static Node | removeChild(Node node, Node oldChild) |
| static Node | replaceChild(Node node, Node newChild, Node oldChild) |
| static void | replaceData(CharacterData charData, int offset, int count, String arg) |
| static void | setData(CharacterData charData, String data) |
| static void | setNodeValue(Node node, String nodeValue) |
| static void | setPrefix(Node node, String prefix) |
| static String | substringData(CharacterData charData, int offset, int count) |
| static boolean | supports(Node node, String feature, String version) |
Throws: DOMException DOCUMENT ME!