Example usage for Java org.dom4j.tree DefaultElement fields, constructors, methods, implement or subclass
The text is from its open source code.
Object | content Stores null for no content, a Node for a single content node or a List for multiple content nodes. |
Object | attributes Lazily constructes list of attributes |
DefaultElement(String name) | |
DefaultElement(QName qname) | |
DefaultElement(QName qname, int attributeCount) | |
DefaultElement(String name, Namespace namespace) |
void | add(Attribute attribute) |
Element | addAttribute(String name, String value) |
Element | addElement(String name) |
Element | addText(String text) |
Attribute | attribute(int index) |
Attribute | attribute(String name) |
Attribute | attribute(QName qName) |
String | attributeValue(String name) |
Object | clone() |
Element | element(String name) |
Element | element(QName qName) |
Element | elementByID(String elementID) |
List | elements() |
Object | getData() |
String | getName() |
Namespace | getNamespace() |
String | getText() |
String | getTextTrim() |
int | indexOf(Node node) |
boolean | remove(Attribute attribute) |
void | setContent(List |
void | setText(String text) |