public class KAttr extends KNode implements org.w3c.dom.Attr
ipos, sequence
ATTRIBUTE_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
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
short |
getNodeType() |
java.lang.Object |
getObjectValue()
Get attribute value as (typed) Object, rather than string.
|
static java.lang.Object |
getObjectValue(NodeTree sequence,
int ipos) |
org.w3c.dom.Element |
getOwnerElement() |
org.w3c.dom.Node |
getParentNode() |
org.w3c.dom.TypeInfo |
getSchemaTypeInfo() |
boolean |
getSpecified() |
java.lang.String |
getValue() |
boolean |
isId() |
void |
setValue(java.lang.String value) |
appendChild, atomicValue, baseURI, cloneNode, coerce, compareDocumentPosition, consume, copy, getAttributes, getBaseURI, getChildNodes, getElementsByTagName, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeNameObject, getNodeSymbol, getNodeValue, getNodeValue, getNodeValue, getNodeValue, getOwnerDocument, getPrefix, getPreviousSibling, getTextContent, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, make, make, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, toString
add, finalize, fromEndIndex, getContainingSequenceSize, getNext, getNextKind, getNextTypeName, getNextTypeObject, getPos, getPrevious, gotoChildrenStart, gotoEnd, gotoNext, gotoPrevious, gotoStart, hasMoreElements, hasNext, hasPrevious, isAfter, next, nextElement, nextIndex, previous, previousIndex, release, remove, set, set, set, setNext, setPos, setPos, setPrevious, toInfo
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
public KAttr(NodeTree seq, int ipos)
public java.lang.String getName()
getName
in interface org.w3c.dom.Attr
public short getNodeType()
getNodeType
in interface org.w3c.dom.Node
getNodeType
in class KNode
public java.lang.String getValue()
getValue
in interface org.w3c.dom.Attr
public static java.lang.Object getObjectValue(NodeTree sequence, int ipos)
public java.lang.Object getObjectValue()
public void setValue(java.lang.String value) throws org.w3c.dom.DOMException
setValue
in interface org.w3c.dom.Attr
org.w3c.dom.DOMException
public org.w3c.dom.Node getParentNode()
getParentNode
in interface org.w3c.dom.Node
getParentNode
in class KNode
public org.w3c.dom.Element getOwnerElement()
getOwnerElement
in interface org.w3c.dom.Attr
public boolean getSpecified()
getSpecified
in interface org.w3c.dom.Attr
public org.w3c.dom.TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo
in interface org.w3c.dom.Attr
public boolean isId()
isId
in interface org.w3c.dom.Attr