May 2001
Intermediate to advanced
1088 pages
30h 13m
English
The Attr interface represents an attribute from an XML tag.
getName public String getName()
Returns the name of the attribute.
getOwnerElement public Element getOwnerElement()
Returns the element that this attribute belongs to, or null if this attribute doesn't belong to an element at the moment.
getSpecified public boolean getSpecified()
Returns true if the value of this attribute was explicitly specified in the original document as opposed to being set as a default value.
getValue public String getValue() throws DOMException
Returns the value of this attribute.
setValue public void setValue(String value) throws DOMException
Sets the value of this attribute.
The CDATASection interface is a subclass of the ...
Read now
Unlock full access