Package org.loboevolution.html.node
Interface CharacterData
- All Superinterfaces:
EventTarget
,Node
,NonDocumentTypeChildNode
- All Known Subinterfaces:
CDATASection
,Comment
,ProcessingInstruction
,Text
- All Known Implementing Classes:
CDataSectionImpl
,CharacterDataImpl
,CommentImpl
,DTMNodeProxy
,HTMLProcessingInstruction
,TextImpl
The CharacterData abstract interface represents a Node object that contains
characters. This is an abstract interface, meaning there aren't any object of
type it is implemented by other interfaces CharacterData, like Text, Comment,
or ProcessingInstruction which aren't abstract.
-
Field Summary
Fields inherited from interface org.loboevolution.html.node.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, NONE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendData
(String data) appendData.void
deleteData
(int offset, int count) deleteData.getData()
getData.int
getLength.void
insertData
(int offset, String data) insertData.void
replaceData
(int offset, int count, String data) replaceData.void
setData.substringData
(int offset, int count) substringData.Methods inherited from interface org.loboevolution.events.EventTarget
addEventListener, addEventListener, dispatchEvent, dispatchEvent, removeEventListener, removeEventListener
Methods inherited from interface org.loboevolution.html.node.Node
appendChild, cloneNode, cloneNode, compareDocumentPosition, contains, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getRootNode, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isIsConnected, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, prepend, prependChild, removeChild, replaceChild, setNodeValue, setOwnerDocument, setPrefix, setTextContent, setUserData
Methods inherited from interface org.loboevolution.html.node.NonDocumentTypeChildNode
getNextElementSibling, getPreviousElementSibling
-
Method Details
-
getData
String getData()getData.
- Returns:
- a
String
object.
-
setData
setData.
- Parameters:
data
- aString
object.
-
getLength
int getLength()getLength.
- Returns:
- a
Integer
object.
-
appendData
appendData.
- Parameters:
data
- aString
object.
-
deleteData
void deleteData(int offset, int count) deleteData.
-
insertData
insertData.
-
replaceData
replaceData.
-
substringData
substringData.
-