public class Attribute extends NodeImpl implements Node, Attr
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 |
---|---|
void |
accept(XMLNodeVisitor visitor) |
protected void |
cloneNamespacePrefixes(Map<Integer,String> allNS,
Map<String,String> prefixes) |
String |
getLocalName() |
String |
getName() |
String |
getNodeName() |
short |
getNodeType() |
String |
getNodeValue() |
Element |
getOwnerElement() |
String |
getPrefix() |
TypeInfo |
getSchemaTypeInfo() |
boolean |
getSpecified() |
String |
getValue() |
boolean |
isId() |
boolean |
isXmlnsAttribute() |
void |
setLocalName(String localName) |
void |
setName(String name) |
void |
setPrefix(String prefix) |
void |
setValue(String value) |
addedToTree, appendChild, assignNodeId, assignNodeIdRecursively, clone, cloneNode, cloneNode, cloneNode, cloneShallowWithModelContext, compareDocumentPosition, copy, copyTokens, getAttributes, getAttributesForRead, getAttributesForWrite, getBaseURI, getChildNodes, getFeature, getFirstChild, getId, getIndexOfChild, getLastChild, getModel, getNamespaceURI, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getTokens, getUserData, hasAttributes, hasChildNodes, hashCode, insertBefore, isDefaultNamespace, isEqualNode, isEquivalentNode, isInTree, isSameNode, isSupported, lookupNamespace, lookupNamespace, lookupNamespaceURI, lookupPrefix, lookupPrefix, normalize, removeChild, reorderChild, reorderChildren, replaceChild, setNodeValue, setTextContent, setUserData, toString
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
addedToTree, clone, getId, getIndexOfChild, getNamespaceURI, isEquivalentNode, isInTree
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setTextContent, setUserData
public short getNodeType()
getNodeType
in interface Node
getNodeType
in class NodeImpl
public String getNodeName()
getNodeName
in interface Node
getNodeName
in class NodeImpl
public String getNodeValue()
getNodeValue
in interface Node
getNodeValue
in class NodeImpl
public boolean getSpecified()
getSpecified
in interface Attr
public Element getOwnerElement()
getOwnerElement
in interface Attr
public TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo
in interface Attr
public void accept(XMLNodeVisitor visitor)
public String getLocalName()
getLocalName
in interface Node
getLocalName
in class NodeImpl
public void setLocalName(String localName)
public String getPrefix()
public void setPrefix(String prefix)
public void setName(String name)
public boolean isXmlnsAttribute()