|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A DOM ID to Element mapping interface. This
interface contains methods that register and retrieve Elements with
ID attributes. These methods are useful for identifying
URIReferences that refer to elements with ID attributes.
| Method Summary | |
Element |
getElementById(java.lang.String idValue)
Returns the Element with the specified ID attribute value. |
void |
setIdAttributeNS(Element element,
java.lang.String namespaceURI,
java.lang.String localName)
Registers the element's attribute specified by the namespace URI and local name to be of type ID. |
| Method Detail |
public Element getElementById(java.lang.String idValue)
Element with the specified ID attribute value.
idValue - the value of the ID
Element with the specified ID attribute value,
or null if none.
java.lang.NullPointerException - if idValue is nullsetIdAttributeNS(org.w3c.dom.Element, java.lang.String, java.lang.String)
public void setIdAttributeNS(Element element,
java.lang.String namespaceURI,
java.lang.String localName)
element - the elementnamespaceURI - the namespace URI of the attribute (specify
null if not applicable)localName - the local name of the attribute
java.lang.IllegalArgumentException - if localName is not an
attribute of the specified element or it does not contain a specific
value
java.lang.NullPointerException - if element or
localName is nullgetElementById(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||