public class AttrImpl extends NodeImpl implements org.w3c.dom.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
Constructor and Description |
---|
AttrImpl()
Default Constructor
|
AttrImpl(org.w3c.dom.Element element,
java.lang.String prefix,
java.lang.String localpart,
java.lang.String rawname,
java.lang.String uri,
java.lang.String value)
Constructs an attribute.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.lang.String |
getNodeValue() |
org.w3c.dom.Document |
getOwnerDocument() |
org.w3c.dom.Element |
getOwnerElement() |
org.w3c.dom.TypeInfo |
getSchemaTypeInfo()
Method getSchemaTypeInfo.
|
boolean |
getSpecified() |
java.lang.String |
getValue() |
boolean |
isId() |
void |
setValue(java.lang.String value) |
java.lang.String |
toString()
NON-DOM method for debugging convenience
|
getLocalName, getNamespaceURI, getNodeName, getNodeType, getPrefix, getReadOnly, setReadOnly
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getParentNode, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
public AttrImpl()
public AttrImpl(org.w3c.dom.Element element, java.lang.String prefix, java.lang.String localpart, java.lang.String rawname, java.lang.String uri, java.lang.String value)
element
- Element which owns this attributeprefix
- The QName prefix.localpart
- The QName localpart.rawname
- The QName rawname.uri
- The uri binding for the associated prefix.value
- The value of the attribute.public java.lang.String getName()
getName
in interface org.w3c.dom.Attr
public boolean getSpecified()
getSpecified
in interface org.w3c.dom.Attr
public java.lang.String getValue()
getValue
in interface org.w3c.dom.Attr
public java.lang.String getNodeValue()
getNodeValue
in interface org.w3c.dom.Node
getNodeValue
in class DefaultNode
public org.w3c.dom.Element getOwnerElement()
getOwnerElement
in interface org.w3c.dom.Attr
public org.w3c.dom.Document getOwnerDocument()
getOwnerDocument
in interface org.w3c.dom.Node
getOwnerDocument
in class DefaultNode
public void setValue(java.lang.String value) throws org.w3c.dom.DOMException
setValue
in interface org.w3c.dom.Attr
org.w3c.dom.DOMException
public boolean isId()
isId
in interface org.w3c.dom.Attr
public org.w3c.dom.TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo
in interface org.w3c.dom.Attr
Copyright ? 1999-2010 The Apache Software Foundation. All Rights Reserved.