org.dom4j.tree
public class DefaultAttribute extends FlyweightAttribute
DefaultAttribute implements a doubly linked node which
supports the parent relationship and is mutable.
Version: $Revision: 1.13 $
| Constructor Summary | |
|---|---|
| DefaultAttribute(QName qname) | |
| DefaultAttribute(QName qname, String value) | |
| DefaultAttribute(Element parent, QName qname, String value) | |
| DefaultAttribute(String name, String value)
Creates the Attribute with the specified local name and
value.
| |
| DefaultAttribute(String name, String value, Namespace namespace)
Creates the Attribute with the specified local name, value
and Namespace.
| |
| DefaultAttribute(Element parent, String name, String value, Namespace namespace)
Creates the Attribute with the specified local name, value
and Namespace.
| |
| Method Summary | |
|---|---|
| Element | getParent() |
| boolean | isReadOnly() |
| void | setParent(Element parent) |
| void | setValue(String value) |
| boolean | supportsParent() |
Attribute with the specified local name and
value.
Parameters: name is the name of the attribute value is the value of the attribute
Attribute with the specified local name, value
and Namespace.
Parameters: name is the name of the attribute value is the value of the attribute namespace is the namespace of the attribute
Attribute with the specified local name, value
and Namespace.
Parameters: parent is the parent element name is the name of the attribute value is the value of the attribute namespace is the namespace of the attribute