public class DOMAttrImpl extends DOMNodeImpl implements org.w3c.dom.Attr, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected AttVal |
avAdaptee
wrapped org.w3c.tidy.AttVal.
|
adaptee
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 | Constructor and Description |
---|---|
protected |
DOMAttrImpl(AttVal adaptee)
instantiates a new DOMAttrImpl which wraps the given AttVal.
|
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Node |
appendChild(org.w3c.dom.Node newChild)
Not supported.
|
protected java.lang.Object |
clone() |
org.w3c.dom.Node |
cloneNode(boolean deep) |
org.w3c.dom.NamedNodeMap |
getAttributes() |
org.w3c.dom.NodeList |
getChildNodes() |
org.w3c.dom.Node |
getFirstChild() |
org.w3c.dom.Node |
getLastChild() |
java.lang.String |
getName() |
org.w3c.dom.Node |
getNextSibling() |
java.lang.String |
getNodeName() |
short |
getNodeType() |
java.lang.String |
getNodeValue() |
org.w3c.dom.Document |
getOwnerDocument() |
org.w3c.dom.Element |
getOwnerElement() |
org.w3c.dom.Node |
getParentNode() |
org.w3c.dom.Node |
getPreviousSibling() |
org.w3c.dom.TypeInfo |
getSchemaTypeInfo() |
boolean |
getSpecified() |
java.lang.String |
getValue() |
boolean |
hasChildNodes() |
org.w3c.dom.Node |
insertBefore(org.w3c.dom.Node newChild,
org.w3c.dom.Node refChild)
Not supported.
|
boolean |
isId() |
org.w3c.dom.Node |
removeChild(org.w3c.dom.Node oldChild)
Not supported.
|
org.w3c.dom.Node |
replaceChild(org.w3c.dom.Node newChild,
org.w3c.dom.Node oldChild)
Not supported.
|
void |
setNodeValue(java.lang.String nodeValue) |
void |
setValue(java.lang.String value) |
compareDocumentPosition, getBaseURI, getFeature, getLocalName, getNamespaceURI, getPrefix, getTextContent, getUserData, hasAttributes, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, setPrefix, setTextContent, setUserData, supports
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compareDocumentPosition, getBaseURI, getFeature, getLocalName, getNamespaceURI, getPrefix, getTextContent, getUserData, hasAttributes, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, setPrefix, setTextContent, setUserData
protected AttVal avAdaptee
protected DOMAttrImpl(AttVal adaptee)
adaptee
- wrapped AttValpublic java.lang.String getNodeValue() throws org.w3c.dom.DOMException
getNodeValue
in interface org.w3c.dom.Node
getNodeValue
in class DOMNodeImpl
org.w3c.dom.DOMException
Node.getNodeValue()
public void setNodeValue(java.lang.String nodeValue) throws org.w3c.dom.DOMException
setNodeValue
in interface org.w3c.dom.Node
setNodeValue
in class DOMNodeImpl
org.w3c.dom.DOMException
Node.setNodeValue(java.lang.String)
public java.lang.String getNodeName()
getNodeName
in interface org.w3c.dom.Node
getNodeName
in class DOMNodeImpl
Node.getNodeName()
public short getNodeType()
getNodeType
in interface org.w3c.dom.Node
getNodeType
in class DOMNodeImpl
Node.getNodeType()
public java.lang.String getName()
getName
in interface org.w3c.dom.Attr
Attr.getName()
public boolean getSpecified()
getSpecified
in interface org.w3c.dom.Attr
Attr.getSpecified()
public java.lang.String getValue()
getValue
in interface org.w3c.dom.Attr
Attr.getValue()
public void setValue(java.lang.String value)
setValue
in interface org.w3c.dom.Attr
Attr.setValue(java.lang.String)
public org.w3c.dom.Node getParentNode()
getParentNode
in interface org.w3c.dom.Node
getParentNode
in class DOMNodeImpl
Node.getParentNode()
public org.w3c.dom.NodeList getChildNodes()
getChildNodes
in interface org.w3c.dom.Node
getChildNodes
in class DOMNodeImpl
Node.getChildNodes()
public org.w3c.dom.Node getFirstChild()
getFirstChild
in interface org.w3c.dom.Node
getFirstChild
in class DOMNodeImpl
Node.getFirstChild()
public org.w3c.dom.Node getLastChild()
getLastChild
in interface org.w3c.dom.Node
getLastChild
in class DOMNodeImpl
Node.getLastChild()
public org.w3c.dom.Node getPreviousSibling()
getPreviousSibling
in interface org.w3c.dom.Node
getPreviousSibling
in class DOMNodeImpl
Node.getPreviousSibling()
public org.w3c.dom.Node getNextSibling()
getNextSibling
in interface org.w3c.dom.Node
getNextSibling
in class DOMNodeImpl
Node.getNextSibling()
public org.w3c.dom.NamedNodeMap getAttributes()
getAttributes
in interface org.w3c.dom.Node
getAttributes
in class DOMNodeImpl
Node.getAttributes()
public org.w3c.dom.Document getOwnerDocument()
getOwnerDocument
in interface org.w3c.dom.Node
getOwnerDocument
in class DOMNodeImpl
Node.getOwnerDocument()
public org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild, org.w3c.dom.Node refChild) throws org.w3c.dom.DOMException
insertBefore
in interface org.w3c.dom.Node
insertBefore
in class DOMNodeImpl
org.w3c.dom.DOMException
Node.insertBefore(org.w3c.dom.Node, org.w3c.dom.Node)
public org.w3c.dom.Node replaceChild(org.w3c.dom.Node newChild, org.w3c.dom.Node oldChild) throws org.w3c.dom.DOMException
replaceChild
in interface org.w3c.dom.Node
replaceChild
in class DOMNodeImpl
org.w3c.dom.DOMException
Node.replaceChild(org.w3c.dom.Node, org.w3c.dom.Node)
public org.w3c.dom.Node removeChild(org.w3c.dom.Node oldChild) throws org.w3c.dom.DOMException
removeChild
in interface org.w3c.dom.Node
removeChild
in class DOMNodeImpl
org.w3c.dom.DOMException
Node.removeChild(org.w3c.dom.Node)
public org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild) throws org.w3c.dom.DOMException
appendChild
in interface org.w3c.dom.Node
appendChild
in class DOMNodeImpl
org.w3c.dom.DOMException
Node.appendChild(org.w3c.dom.Node)
public boolean hasChildNodes()
hasChildNodes
in interface org.w3c.dom.Node
hasChildNodes
in class DOMNodeImpl
Node.hasChildNodes()
public org.w3c.dom.Node cloneNode(boolean deep)
cloneNode
in interface org.w3c.dom.Node
cloneNode
in class DOMNodeImpl
Node.cloneNode(boolean)
public org.w3c.dom.Element getOwnerElement()
getOwnerElement
in interface org.w3c.dom.Attr
Attr.getOwnerElement()
public org.w3c.dom.TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo
in interface org.w3c.dom.Attr
Attr.getSchemaTypeInfo()
public boolean isId()
isId
in interface org.w3c.dom.Attr
Attr.isId()
protected java.lang.Object clone()
clone
in class java.lang.Object
Object.clone()