Package org.w3c.tidy
Class DOMCharacterDataImpl
- java.lang.Object
-
- org.w3c.tidy.DOMNodeImpl
-
- org.w3c.tidy.DOMCharacterDataImpl
-
- All Implemented Interfaces:
org.w3c.dom.CharacterData
,org.w3c.dom.Node
- Direct Known Subclasses:
DOMCommentImpl
,DOMTextImpl
public class DOMCharacterDataImpl extends DOMNodeImpl implements org.w3c.dom.CharacterData
Tidy implementation of org.w3c.dom.CharacterData.- Version:
- $Revision: 588 $ ($Author: fgiust $)
- 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
Constructors Modifier Constructor Description protected
DOMCharacterDataImpl(Node adaptee)
Instantiates a new DOMCharacterDataImpl which wraps the given Node.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendData(java.lang.String arg)
Not supported.void
deleteData(int offset, int count)
Not supported.java.lang.String
getData()
int
getLength()
void
insertData(int offset, java.lang.String arg)
Not supported.void
replaceData(int offset, int count, java.lang.String arg)
Not supported.void
setData(java.lang.String data)
Not supported.java.lang.String
substringData(int offset, int count)
-
Methods inherited from class org.w3c.tidy.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, 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, 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 Detail
-
DOMCharacterDataImpl
protected DOMCharacterDataImpl(Node adaptee)
Instantiates a new DOMCharacterDataImpl which wraps the given Node.- Parameters:
adaptee
- wrapped node.
-
-
Method Detail
-
getData
public java.lang.String getData() throws org.w3c.dom.DOMException
- Specified by:
getData
in interfaceorg.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
- See Also:
CharacterData.getData()
-
getLength
public int getLength()
- Specified by:
getLength
in interfaceorg.w3c.dom.CharacterData
- See Also:
CharacterData.getLength()
-
substringData
public java.lang.String substringData(int offset, int count) throws org.w3c.dom.DOMException
- Specified by:
substringData
in interfaceorg.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
- See Also:
CharacterData.substringData(int, int)
-
setData
public void setData(java.lang.String data) throws org.w3c.dom.DOMException
Not supported.- Specified by:
setData
in interfaceorg.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
- See Also:
CharacterData.setData(java.lang.String)
-
appendData
public void appendData(java.lang.String arg) throws org.w3c.dom.DOMException
Not supported.- Specified by:
appendData
in interfaceorg.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
- See Also:
CharacterData.appendData(java.lang.String)
-
insertData
public void insertData(int offset, java.lang.String arg) throws org.w3c.dom.DOMException
Not supported.- Specified by:
insertData
in interfaceorg.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
- See Also:
CharacterData.insertData(int, java.lang.String)
-
deleteData
public void deleteData(int offset, int count) throws org.w3c.dom.DOMException
Not supported.- Specified by:
deleteData
in interfaceorg.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
- See Also:
CharacterData.deleteData(int, int)
-
replaceData
public void replaceData(int offset, int count, java.lang.String arg) throws org.w3c.dom.DOMException
Not supported.- Specified by:
replaceData
in interfaceorg.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
- See Also:
CharacterData.replaceData(int, int, java.lang.String)
-
-