Interfaces

Attr

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.

CDATASection

The CDATASection interface is a subclass of the ...

Get Special Edition Using Java™ 2 Enterprise Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.