org.w3c.tidy
Class DOMCharacterDataImpl

java.lang.Object
  |
  +--org.w3c.tidy.DOMNodeImpl
        |
        +--org.w3c.tidy.DOMCharacterDataImpl
All Implemented Interfaces:
CharacterData, Node
Direct Known Subclasses:
DOMCommentImpl, DOMTextImpl

public class DOMCharacterDataImpl
extends DOMNodeImpl
implements CharacterData

DOMCharacterDataImpl (c) 1998-2000 (W3C) MIT, INRIA, Keio University See Tidy.java for the copyright notice. Derived from HTML Tidy Release 4 Aug 2000

Version:
1.7, 1999/12/06 Tidy Release 30 Nov 1999
Author:
Dave Raggett , Andy Quick (translation to Java)

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
protected DOMCharacterDataImpl(Node adaptee)
           
 
Method Summary
 void appendData(String arg)
           
 void deleteData(int offset, int count)
           
 String getData()
           
 int getLength()
           
 void insertData(int offset, String arg)
           
 void replaceData(int offset, int count, String arg)
           
 void setData(String data)
           
 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)
Method Detail

getData

public String getData()
               throws DOMException
Specified by:
getData in interface CharacterData
See Also:
CharacterData.getData()

setData

public void setData(String data)
             throws DOMException
Specified by:
setData in interface CharacterData
See Also:
CharacterData.setData(java.lang.String)

getLength

public int getLength()
Specified by:
getLength in interface CharacterData
See Also:
CharacterData.getLength()

substringData

public String substringData(int offset,
                            int count)
                     throws DOMException
Specified by:
substringData in interface CharacterData
See Also:
CharacterData.substringData(int, int)

appendData

public void appendData(String arg)
                throws DOMException
Specified by:
appendData in interface CharacterData
See Also:
CharacterData.appendData(java.lang.String)

insertData

public void insertData(int offset,
                       String arg)
                throws DOMException
Specified by:
insertData in interface CharacterData
See Also:
CharacterData.insertData(int, java.lang.String)

deleteData

public void deleteData(int offset,
                       int count)
                throws DOMException
Specified by:
deleteData in interface CharacterData
See Also:
CharacterData.deleteData(int, int)

replaceData

public void replaceData(int offset,
                        int count,
                        String arg)
                 throws DOMException
Specified by:
replaceData in interface CharacterData
See Also:
CharacterData.replaceData(int, int, java.lang.String)


Copyright © 1998-2000 World Wide Web Consortium (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights reserved.