public class DOMAttrImpl extends DOMNodeImpl implements Attr, 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 |
---|---|
Node |
appendChild(Node newChild)
Not supported.
|
protected Object |
clone() |
Node |
cloneNode(boolean deep) |
NamedNodeMap |
getAttributes() |
NodeList |
getChildNodes() |
Node |
getFirstChild() |
Node |
getLastChild() |
String |
getName() |
Node |
getNextSibling() |
String |
getNodeName() |
short |
getNodeType() |
String |
getNodeValue() |
Document |
getOwnerDocument() |
Element |
getOwnerElement() |
Node |
getParentNode() |
Node |
getPreviousSibling() |
TypeInfo |
getSchemaTypeInfo() |
boolean |
getSpecified() |
String |
getValue() |
boolean |
hasChildNodes() |
Node |
insertBefore(Node newChild,
Node refChild)
Not supported.
|
boolean |
isId() |
Node |
removeChild(Node oldChild)
Not supported.
|
Node |
replaceChild(Node newChild,
Node oldChild)
Not supported.
|
void |
setNodeValue(String nodeValue) |
void |
setValue(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 String getNodeValue() throws DOMException
getNodeValue
in interface Node
getNodeValue
in class DOMNodeImpl
DOMException
Node.getNodeValue()
public void setNodeValue(String nodeValue) throws DOMException
setNodeValue
in interface Node
setNodeValue
in class DOMNodeImpl
DOMException
Node.setNodeValue(java.lang.String)
public String getNodeName()
getNodeName
in interface Node
getNodeName
in class DOMNodeImpl
Node.getNodeName()
public short getNodeType()
getNodeType
in interface Node
getNodeType
in class DOMNodeImpl
Node.getNodeType()
public String getName()
getName
in interface Attr
Attr.getName()
public boolean getSpecified()
getSpecified
in interface Attr
Attr.getSpecified()
public String getValue()
getValue
in interface Attr
Attr.getValue()
public void setValue(String value)
setValue
in interface Attr
Attr.setValue(java.lang.String)
public Node getParentNode()
getParentNode
in interface Node
getParentNode
in class DOMNodeImpl
Node.getParentNode()
public NodeList getChildNodes()
getChildNodes
in interface Node
getChildNodes
in class DOMNodeImpl
Node.getChildNodes()
public Node getFirstChild()
getFirstChild
in interface Node
getFirstChild
in class DOMNodeImpl
Node.getFirstChild()
public Node getLastChild()
getLastChild
in interface Node
getLastChild
in class DOMNodeImpl
Node.getLastChild()
public Node getPreviousSibling()
getPreviousSibling
in interface Node
getPreviousSibling
in class DOMNodeImpl
Node.getPreviousSibling()
public Node getNextSibling()
getNextSibling
in interface Node
getNextSibling
in class DOMNodeImpl
Node.getNextSibling()
public NamedNodeMap getAttributes()
getAttributes
in interface Node
getAttributes
in class DOMNodeImpl
Node.getAttributes()
public Document getOwnerDocument()
getOwnerDocument
in interface Node
getOwnerDocument
in class DOMNodeImpl
Node.getOwnerDocument()
public Node insertBefore(Node newChild, Node refChild) throws DOMException
insertBefore
in interface Node
insertBefore
in class DOMNodeImpl
DOMException
Node.insertBefore(org.w3c.dom.Node, org.w3c.dom.Node)
public Node replaceChild(Node newChild, Node oldChild) throws DOMException
replaceChild
in interface Node
replaceChild
in class DOMNodeImpl
DOMException
Node.replaceChild(org.w3c.dom.Node, org.w3c.dom.Node)
public Node removeChild(Node oldChild) throws DOMException
removeChild
in interface Node
removeChild
in class DOMNodeImpl
DOMException
Node.removeChild(org.w3c.dom.Node)
public Node appendChild(Node newChild) throws DOMException
appendChild
in interface Node
appendChild
in class DOMNodeImpl
DOMException
Node.appendChild(org.w3c.dom.Node)
public boolean hasChildNodes()
hasChildNodes
in interface Node
hasChildNodes
in class DOMNodeImpl
Node.hasChildNodes()
public Node cloneNode(boolean deep)
cloneNode
in interface Node
cloneNode
in class DOMNodeImpl
Node.cloneNode(boolean)
public Element getOwnerElement()
getOwnerElement
in interface Attr
Attr.getOwnerElement()
public TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo
in interface Attr
Attr.getSchemaTypeInfo()
public boolean isId()
isId
in interface Attr
Attr.isId()
protected Object clone()
clone
in class Object
Object.clone()
Copyright © 2000–2012 sourceforge. All rights reserved.