Class DOMCharacterDataImpl
java.lang.Object
org.w3c.tidy.DOMNodeImpl
org.w3c.tidy.DOMCharacterDataImpl
- All Implemented Interfaces:
CharacterData, Node
- Direct Known Subclasses:
DOMCommentImpl, DOMTextImpl
Tidy implementation of org.w3c.dom.CharacterData.
- 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 DOMNodeImpl
adapteeFields inherited from interface 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
ConstructorsModifierConstructorDescriptionprotectedDOMCharacterDataImpl(Node adaptee) Instantiates a new DOMCharacterDataImpl which wraps the given Node. -
Method Summary
Modifier and TypeMethodDescriptionvoidappendData(String arg) voiddeleteData(int offset, int count) getData()intvoidinsertData(int offset, String arg) voidreplaceData(int offset, int count, String arg) voidsubstringData(int offset, int count) Methods inherited from class DOMNodeImpl
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, supportsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
Constructor Details
-
DOMCharacterDataImpl
Instantiates a new DOMCharacterDataImpl which wraps the given Node.- Parameters:
adaptee- wrapped node.
-
-
Method Details
-
getData
- Specified by:
getDatain interfaceCharacterData- Throws:
DOMException- See Also:
-
getLength
public int getLength()- Specified by:
getLengthin interfaceCharacterData- See Also:
-
substringData
- Specified by:
substringDatain interfaceCharacterData- Throws:
DOMException- See Also:
-
setData
- Specified by:
setDatain interfaceCharacterData- Throws:
DOMException- See Also:
-
appendData
- Specified by:
appendDatain interfaceCharacterData- Throws:
DOMException- See Also:
-
insertData
- Specified by:
insertDatain interfaceCharacterData- Throws:
DOMException- See Also:
-
deleteData
- Specified by:
deleteDatain interfaceCharacterData- Throws:
DOMException- See Also:
-
replaceData
- Specified by:
replaceDatain interfaceCharacterData- Throws:
DOMException- See Also:
-