Java org.w3c.dom Attr fields, constructors, methods, implement or subclass

Example usage for Java org.w3c.dom Attr fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.w3c.dom Attr.

The text is from its open source code.

Implementation

org.w3c.dom.Attr has the following implementations.
Click this link to see all its implementation.

Method

NodeappendChild(Node newChild)
Adds the node newChild to the end of the list of children of this node.
NodecloneNode(boolean deep)
Returns a duplicate of this node, i.e., serves as a generic copy constructor for nodes.
booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
NodegetFirstChild()
The first child of this node.
StringgetLocalName()
Returns the local part of the qualified name of this node.
StringgetName()
Returns the name of this attribute.
StringgetNamespaceURI()
The namespace URI of this node, or null if it is unspecified (see ).
StringgetNodeName()
The name of this node, depending on its type; see the table above.
StringgetNodeValue()
The value of this node, depending on its type; see the table above.
DocumentgetOwnerDocument()
The Document object associated with this node.
ElementgetOwnerElement()
The Element node this attribute is attached to or null if this attribute is not in use.
StringgetPrefix()
The namespace prefix of this node, or null if it is unspecified.
TypeInfogetSchemaTypeInfo()
The type information associated with this attribute.
booleangetSpecified()
True if this attribute was explicitly given a value in the instance document, false otherwise.
StringgetTextContent()
This attribute returns the text content of this node and its descendants.
ObjectgetUserData(String key)
Retrieves the object associated to a key on a this node.
StringgetValue()
On retrieval, the value of the attribute is returned as a string.
booleanisId()
Returns whether this attribute is known to be of type ID (i.e.
voidsetNodeValue(String nodeValue)
The value of this node, depending on its type; see the table above.
voidsetPrefix(String prefix)
The namespace prefix of this node, or null if it is unspecified.
voidsetTextContent(String textContent)
This attribute returns the text content of this node and its descendants.
ObjectsetUserData(String key, Object data, UserDataHandler handler)
Associate an object to a key on this node.
voidsetValue(String value)
On retrieval, the value of the attribute is returned as a string.
StringtoString()
Returns a string representation of the object.