Package org.w3c.tidy
Class DOMElementImpl
java.lang.Object
org.w3c.tidy.DOMNodeImpl
org.w3c.tidy.DOMElementImpl
DOMElementImpl.
- Version:
- $Revision$ ($Author$)
- Author:
- Dave Raggett dsr@w3.org , Andy Quick ac.quick@sympatico.ca (translation to Java), Fabrizio Giustina
-
Field Summary
Fields 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
DOMElementImpl
(Node adaptee) Instantiates a new DOM element. -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(String name) getAttributeNode
(String name) getAttributeNodeNS
(String namespaceURI, String localName) TODO DOM level 2 getAttributeNodeNS() Not supported.getAttributeNS
(String namespaceURI, String localName) TODO DOM level 2 getAttributeNS() Not supported.getElementsByTagName
(String name) getElementsByTagNameNS
(String namespaceURI, String localName) TODO DOM level 2 getElementsByTagNameNS() Not supported.short
TODO DOM level 3 getSchemaTypeInfo() Not supported.boolean
hasAttribute
(String name) TODO DOM level 2 hasAttribute() Not supported.boolean
hasAttributeNS
(String namespaceURI, String localName) TODO DOM level 2 hasAttribute() Not supported.void
TODO DOM level 2 getOwnerDocument() Not supported.void
removeAttribute
(String name) removeAttributeNode
(Attr oldAttr) void
removeAttributeNS
(String namespaceURI, String localName) TODO DOM level 2 removeAttributeNS() Not supported.void
setAttribute
(String name, String value) setAttributeNode
(Attr newAttr) setAttributeNodeNS
(Attr newAttr) TODO DOM level 2 setAttributeNodeNS() Not supported.void
setAttributeNS
(String namespaceURI, String qualifiedName, String value) TODO DOM level 2 setAttributeNS() Not supported.void
setIdAttribute
(String name, boolean isId) TODO DOM level 3 setIdAttribute() Not supported.void
setIdAttributeNode
(Attr idAttr, boolean isId) TODO DOM level 3 setIdAttributeNode() Not supported.void
setIdAttributeNS
(String namespaceURI, String localName, boolean isId) TODO DOM level 3 setIdAttributeNS() Not supported.Methods inherited from class org.w3c.tidy.DOMNodeImpl
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, supports
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
Constructor Details
-
DOMElementImpl
Instantiates a new DOM element.- Parameters:
adaptee
- Tidy Node.
-
-
Method Details
-
getNodeType
public short getNodeType()- Specified by:
getNodeType
in interfaceNode
- Overrides:
getNodeType
in classDOMNodeImpl
- See Also:
-
getTagName
- Specified by:
getTagName
in interfaceElement
- See Also:
-
getAttribute
- Specified by:
getAttribute
in interfaceElement
- See Also:
-
setAttribute
- Specified by:
setAttribute
in interfaceElement
- Throws:
DOMException
- See Also:
-
removeAttribute
- Specified by:
removeAttribute
in interfaceElement
- Throws:
DOMException
- See Also:
-
getAttributeNode
- Specified by:
getAttributeNode
in interfaceElement
- See Also:
-
setAttributeNode
- Specified by:
setAttributeNode
in interfaceElement
- Throws:
DOMException
- See Also:
-
removeAttributeNode
- Specified by:
removeAttributeNode
in interfaceElement
- Throws:
DOMException
- See Also:
-
getElementsByTagName
- Specified by:
getElementsByTagName
in interfaceElement
- See Also:
-
normalize
public void normalize()TODO DOM level 2 getOwnerDocument() Not supported. Do nothing.- Specified by:
normalize
in interfaceNode
- Overrides:
normalize
in classDOMNodeImpl
- See Also:
-
getAttributeNS
TODO DOM level 2 getAttributeNS() Not supported. Throws NOT_SUPPORTED_ERR.- Specified by:
getAttributeNS
in interfaceElement
- See Also:
-
setAttributeNS
public void setAttributeNS(String namespaceURI, String qualifiedName, String value) throws DOMException TODO DOM level 2 setAttributeNS() Not supported. Throws NOT_SUPPORTED_ERR.- Specified by:
setAttributeNS
in interfaceElement
- Throws:
DOMException
- See Also:
-
removeAttributeNS
TODO DOM level 2 removeAttributeNS() Not supported. Throws NOT_SUPPORTED_ERR.- Specified by:
removeAttributeNS
in interfaceElement
- Throws:
DOMException
- See Also:
-
getAttributeNodeNS
TODO DOM level 2 getAttributeNodeNS() Not supported. Throws NOT_SUPPORTED_ERR.- Specified by:
getAttributeNodeNS
in interfaceElement
- See Also:
-
setAttributeNodeNS
TODO DOM level 2 setAttributeNodeNS() Not supported. Throws NOT_SUPPORTED_ERR.- Specified by:
setAttributeNodeNS
in interfaceElement
- Throws:
DOMException
- See Also:
-
getElementsByTagNameNS
TODO DOM level 2 getElementsByTagNameNS() Not supported. Throws NOT_SUPPORTED_ERR.- Specified by:
getElementsByTagNameNS
in interfaceElement
- See Also:
-
hasAttribute
TODO DOM level 2 hasAttribute() Not supported. Returns false.- Specified by:
hasAttribute
in interfaceElement
- See Also:
-
hasAttributeNS
TODO DOM level 2 hasAttribute() Not supported. Returns false.- Specified by:
hasAttributeNS
in interfaceElement
- See Also:
-
getSchemaTypeInfo
TODO DOM level 3 getSchemaTypeInfo() Not supported. Returns null.- Specified by:
getSchemaTypeInfo
in interfaceElement
- See Also:
-
setIdAttribute
TODO DOM level 3 setIdAttribute() Not supported. Throws NOT_SUPPORTED_ERR.- Specified by:
setIdAttribute
in interfaceElement
- Throws:
DOMException
- See Also:
-
setIdAttributeNode
TODO DOM level 3 setIdAttributeNode() Not supported. Throws NOT_SUPPORTED_ERR.- Specified by:
setIdAttributeNode
in interfaceElement
- Throws:
DOMException
- See Also:
-
setIdAttributeNS
public void setIdAttributeNS(String namespaceURI, String localName, boolean isId) throws DOMException TODO DOM level 3 setIdAttributeNS() Not supported. Throws NOT_SUPPORTED_ERR.- Specified by:
setIdAttributeNS
in interfaceElement
- Throws:
DOMException
- See Also:
-