public class AttrOverNodeInfo extends NodeOverNodeInfo implements org.w3c.dom.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 |
|---|---|
org.w3c.dom.NodeList |
getChildNodes()
Return a
NodeList that contains all children of this node. |
org.w3c.dom.Node |
getFirstChild()
Get first child
|
org.w3c.dom.Node |
getLastChild()
Get last child
|
java.lang.String |
getName()
Get the name of an attribute node (the lexical QName) (DOM method)
|
org.w3c.dom.Element |
getOwnerElement()
The
Element node this attribute is attached to or
null if this attribute is not in use. |
org.w3c.dom.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. |
java.lang.String |
getValue()
Return the character value of an attribute node (DOM method)
|
boolean |
hasChildNodes()
Determine whether the node has any children.
|
boolean |
isId()
Determine whether this (attribute) node is an ID.
|
void |
setValue(java.lang.String value)
Set the value of an attribute node.
|
appendChild, cloneNode, compareDocumentPosition, disallowUpdate, equals, getAttributes, getBaseURI, getFeature, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUnderlyingNodeInfo, getUserData, hasAttributes, hashCode, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, wrapclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getFeature, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDatapublic java.lang.String getName()
getName in interface org.w3c.dom.Attrpublic java.lang.String getValue()
getValue in interface org.w3c.dom.Attrpublic boolean hasChildNodes()
hasChildNodes in interface org.w3c.dom.NodehasChildNodes in class NodeOverNodeInfotrue: a DOM Attribute has a text node as a child.public org.w3c.dom.Node getFirstChild()
getFirstChild in interface org.w3c.dom.NodegetFirstChild in class NodeOverNodeInfopublic org.w3c.dom.Node getLastChild()
getLastChild in interface org.w3c.dom.NodegetLastChild in class NodeOverNodeInfopublic org.w3c.dom.NodeList getChildNodes()
NodeList that contains all children of this node. If
there are no children, this is a NodeList containing no
nodes.getChildNodes in interface org.w3c.dom.NodegetChildNodes in class NodeOverNodeInfopublic boolean getSpecified()
true ; otherwise, it is
false. (DOM method)getSpecified in interface org.w3c.dom.Attrpublic void setValue(java.lang.String value)
throws org.w3c.dom.DOMException
setValue in interface org.w3c.dom.Attrorg.w3c.dom.DOMExceptionpublic boolean isId()
isId in interface org.w3c.dom.Attrpublic org.w3c.dom.Element getOwnerElement()
Element node this attribute is attached to or
null if this attribute is not in use.getOwnerElement in interface org.w3c.dom.Attrpublic org.w3c.dom.TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo in interface org.w3c.dom.AttrCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.