org.dom4j.dom
public class DOMElement extends DefaultElement implements Element
DOMElement
implements an XML element which supports the W3C
DOM API.
Version: $Revision: 1.23 $
Constructor Summary | |
---|---|
DOMElement(String name) | |
DOMElement(QName qname) | |
DOMElement(QName qname, int attributeCount) | |
DOMElement(String name, Namespace namespace) |
Method Summary | |
---|---|
Node | appendChild(Node newChild) |
protected Attribute | attribute(Attr attr) |
protected Attribute | attribute(String namespaceURI, String localName) |
Node | cloneNode(boolean deep) |
protected Attribute | createAttribute(Attr newAttr) |
String | getAttribute(String name) |
Attr | getAttributeNode(String name) |
Attr | getAttributeNodeNS(String namespaceURI, String localName) |
String | getAttributeNS(String namespaceURI, String localName) |
NamedNodeMap | getAttributes() |
NodeList | getChildNodes() |
protected DocumentFactory | getDocumentFactory() |
NodeList | getElementsByTagName(String name) |
NodeList | getElementsByTagNameNS(String namespace, String lName) |
Node | getFirstChild() |
Node | getLastChild() |
String | getLocalName() |
String | getNamespaceURI() |
Node | getNextSibling() |
String | getNodeName() |
String | getNodeValue() |
Document | getOwnerDocument() |
Node | getParentNode() |
String | getPrefix() |
Node | getPreviousSibling() |
protected QName | getQName(String namespace, String qualifiedName) |
String | getTagName() |
boolean | hasAttribute(String name) |
boolean | hasAttributeNS(String namespaceURI, String localName) |
boolean | hasAttributes() |
boolean | hasChildNodes() |
Node | insertBefore(Node newChild, Node refChild) |
boolean | isSupported(String feature, String version) |
void | removeAttribute(String name) |
Attr | removeAttributeNode(Attr oldAttr) |
void | removeAttributeNS(String namespaceURI, String localName) |
Node | removeChild(Node oldChild) |
Node | replaceChild(Node newChild, Node oldChild) |
void | setAttribute(String name, String value) |
Attr | setAttributeNode(Attr newAttr) |
Attr | setAttributeNodeNS(Attr newAttr) |
void | setAttributeNS(String namespaceURI, String qualifiedName, String value) |
void | setNodeValue(String nodeValue) |
void | setPrefix(String prefix) |
boolean | supports(String feature, String version) |