public class AttrOverNodeInfo extends NodeOverNodeInfo implements Attr
nodeATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE| Constructor and Description |
|---|
AttrOverNodeInfo() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Get the name of an attribute node (the lexical QName) (DOM method)
|
Element |
getOwnerElement()
The
Element node this attribute is attached to or
null if this attribute is not in use. |
TypeInfo |
getSchemaTypeInfo()
Get the schema type information for this node.
|
boolean |
getSpecified()
If this attribute was explicitly given a value in the original
document, this is
true ; otherwise, it is
false. |
String |
getValue()
Return the character value of an attribute node (DOM method)
|
boolean |
isId()
Determine whether this (attribute) node is an ID.
|
void |
setValue(String value)
Set the value of an attribute node.
|
appendChild, cloneNode, compareDocumentPosition, disallowUpdate, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUnderlyingNodeInfo, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, wrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDatapublic String getName()
public String getValue()
public boolean getSpecified()
true ; otherwise, it is
false. (DOM method)getSpecified in interface Attrpublic void setValue(String value) throws DOMException
setValue in interface AttrDOMExceptionpublic boolean isId()
public Element getOwnerElement()
Element node this attribute is attached to or
null if this attribute is not in use.getOwnerElement in interface Attrpublic TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo in interface Attr