Package org.w3c.tidy
Class DOMAttrImpl
java.lang.Object
org.w3c.tidy.DOMNodeImpl
org.w3c.tidy.DOMAttrImpl
Tidy implementation of org.w3c.dom.DOMAttrImpl.
- Version:
- $Revision: 738 $ ($Author: fgiust $)
- Author:
- Dave Raggett dsr@w3.org , Andy Quick ac.quick@sympatico.ca (translation to Java), Fabrizio Giustina
-
Field Summary
FieldsFields inherited from class org.w3c.tidy.DOMNodeImpl
adaptee
Fields inherited from interface org.w3c.dom.Node
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 Summary
ConstructorsModifierConstructorDescriptionprotected
DOMAttrImpl
(AttVal adaptee) instantiates a new DOMAttrImpl which wraps the given AttVal. -
Method Summary
Modifier and TypeMethodDescriptionappendChild
(Node newChild) Not supported.protected Object
clone()
cloneNode
(boolean deep) getName()
short
boolean
getValue()
boolean
insertBefore
(Node newChild, Node refChild) Not supported.boolean
isId()
removeChild
(Node oldChild) Not supported.replaceChild
(Node newChild, Node oldChild) Not supported.void
setNodeValue
(String nodeValue) void
Methods inherited from class org.w3c.tidy.DOMNodeImpl
compareDocumentPosition, getBaseURI, getFeature, getLocalName, getNamespaceURI, getPrefix, getTextContent, getUserData, hasAttributes, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, setPrefix, setTextContent, setUserData, supports
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.w3c.dom.Node
compareDocumentPosition, getBaseURI, getFeature, getLocalName, getNamespaceURI, getPrefix, getTextContent, getUserData, hasAttributes, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, setPrefix, setTextContent, setUserData
-
Field Details
-
avAdaptee
wrapped org.w3c.tidy.AttVal.
-
-
Constructor Details
-
DOMAttrImpl
instantiates a new DOMAttrImpl which wraps the given AttVal.- Parameters:
adaptee
- wrapped AttVal
-
-
Method Details
-
getNodeValue
- Specified by:
getNodeValue
in interfaceNode
- Overrides:
getNodeValue
in classDOMNodeImpl
- Throws:
DOMException
- See Also:
-
setNodeValue
- Specified by:
setNodeValue
in interfaceNode
- Overrides:
setNodeValue
in classDOMNodeImpl
- Throws:
DOMException
- See Also:
-
getNodeName
- Specified by:
getNodeName
in interfaceNode
- Overrides:
getNodeName
in classDOMNodeImpl
- See Also:
-
getNodeType
public short getNodeType()- Specified by:
getNodeType
in interfaceNode
- Overrides:
getNodeType
in classDOMNodeImpl
- See Also:
-
getName
-
getSpecified
public boolean getSpecified()- Specified by:
getSpecified
in interfaceAttr
- See Also:
-
getValue
-
setValue
-
getParentNode
- Specified by:
getParentNode
in interfaceNode
- Overrides:
getParentNode
in classDOMNodeImpl
- See Also:
-
getChildNodes
- Specified by:
getChildNodes
in interfaceNode
- Overrides:
getChildNodes
in classDOMNodeImpl
- See Also:
- To do:
- DOM level 2 getChildNodes() Not implemented. Returns an empty NodeList.
-
getFirstChild
- Specified by:
getFirstChild
in interfaceNode
- Overrides:
getFirstChild
in classDOMNodeImpl
- See Also:
- To do:
- DOM level 2 getFirstChild() Not implemented. Returns null.
-
getLastChild
- Specified by:
getLastChild
in interfaceNode
- Overrides:
getLastChild
in classDOMNodeImpl
- See Also:
- To do:
- DOM level 2 getLastChild() Not implemented. Returns null.
-
getPreviousSibling
- Specified by:
getPreviousSibling
in interfaceNode
- Overrides:
getPreviousSibling
in classDOMNodeImpl
- See Also:
-
getNextSibling
- Specified by:
getNextSibling
in interfaceNode
- Overrides:
getNextSibling
in classDOMNodeImpl
- See Also:
-
getAttributes
- Specified by:
getAttributes
in interfaceNode
- Overrides:
getAttributes
in classDOMNodeImpl
- See Also:
-
getOwnerDocument
- Specified by:
getOwnerDocument
in interfaceNode
- Overrides:
getOwnerDocument
in classDOMNodeImpl
- See Also:
- To do:
- DOM level 2 getOwnerDocument() Not implemented. Returns null.
-
insertBefore
Not supported.- Specified by:
insertBefore
in interfaceNode
- Overrides:
insertBefore
in classDOMNodeImpl
- Throws:
DOMException
- See Also:
-
replaceChild
Not supported.- Specified by:
replaceChild
in interfaceNode
- Overrides:
replaceChild
in classDOMNodeImpl
- Throws:
DOMException
- See Also:
-
removeChild
Not supported.- Specified by:
removeChild
in interfaceNode
- Overrides:
removeChild
in classDOMNodeImpl
- Throws:
DOMException
- See Also:
-
appendChild
Not supported.- Specified by:
appendChild
in interfaceNode
- Overrides:
appendChild
in classDOMNodeImpl
- Throws:
DOMException
- See Also:
-
hasChildNodes
public boolean hasChildNodes()- Specified by:
hasChildNodes
in interfaceNode
- Overrides:
hasChildNodes
in classDOMNodeImpl
- See Also:
-
cloneNode
- Specified by:
cloneNode
in interfaceNode
- Overrides:
cloneNode
in classDOMNodeImpl
- See Also:
-
getOwnerElement
- Specified by:
getOwnerElement
in interfaceAttr
- See Also:
- To do:
- DOM level 2 getOwnerElement() Not implemented. Returns null.
-
getSchemaTypeInfo
- Specified by:
getSchemaTypeInfo
in interfaceAttr
- See Also:
- To do:
- DOM level 3 getSchemaTypeInfo() Not implemented. Returns null.
-
isId
public boolean isId() -
clone
-