Example usage for Java org.w3c.dom Attr fields, constructors, methods, implement or subclass
The text is from its open source code.
Node | appendChild(Node newChild) Adds the node newChild to the end of the list of children of this node. |
Node | cloneNode(boolean deep) Returns a duplicate of this node, i.e., serves as a generic copy constructor for nodes. |
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
Node | getFirstChild() The first child of this node. |
String | getLocalName() Returns the local part of the qualified name of this node. |
String | getName() Returns the name of this attribute. |
String | getNamespaceURI() The namespace URI of this node, or null if it is unspecified (see ). |
String | getNodeName() The name of this node, depending on its type; see the table above. |
String | getNodeValue() The value of this node, depending on its type; see the table above. |
Document | getOwnerDocument() The Document object associated with this node. |
Element | getOwnerElement() The Element node this attribute is attached to or null if this attribute is not in use. |
String | getPrefix() The namespace prefix of this node, or null if it is unspecified. |
TypeInfo | getSchemaTypeInfo() The type information associated with this attribute. |
boolean | getSpecified()True if this attribute was explicitly given a value in the instance document, false otherwise. |
String | getTextContent() This attribute returns the text content of this node and its descendants. |
Object | getUserData(String key) Retrieves the object associated to a key on a this node. |
String | getValue() On retrieval, the value of the attribute is returned as a string. |
boolean | isId() Returns whether this attribute is known to be of type ID (i.e. |
void | setNodeValue(String nodeValue) The value of this node, depending on its type; see the table above. |
void | setPrefix(String prefix) The namespace prefix of this node, or null if it is unspecified. |
void | setTextContent(String textContent) This attribute returns the text content of this node and its descendants. |
Object | setUserData(String key, Object data, UserDataHandler handler) Associate an object to a key on this node. |
void | setValue(String value) On retrieval, the value of the attribute is returned as a string. |
String | toString() Returns a string representation of the object. |