Class CharacterDataImpl
java.lang.Object
org.loboevolution.js.AbstractScriptableDelegate
org.loboevolution.html.dom.nodeimpl.event.EventTargetImpl
org.loboevolution.html.dom.nodeimpl.NodeImpl
org.loboevolution.html.dom.nodeimpl.CharacterDataImpl
- All Implemented Interfaces:
Cloneable
,EventTarget
,ModelNode
,CharacterData
,Node
,NonDocumentTypeChildNode
,ScriptableDelegate
- Direct Known Subclasses:
CommentImpl
,TextImpl
Abstract CharacterDataImpl class.
-
Field Summary
Fields inherited from class org.loboevolution.html.dom.nodeimpl.NodeImpl
document, nodeList, notificationsSuspended, parentNode, uiNode
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
-
Constructor Summary
ConstructorDescriptionConstructor for CharacterDataImpl.CharacterDataImpl
(String text) Constructor for CharacterDataImpl. -
Method Summary
Modifier and TypeMethodDescriptionvoid
appendData
(String arg) appendData.void
deleteData
(int offset, int count) deleteData.getClassName.getData()
getData.int
getLength.getTextContent.void
insertData
(int offset, String arg) insertData.void
replaceData
(int offset, int count, String arg) replaceData.void
setData.void
setTextContent
(String textContent) setTextContent.substringData
(int offset, int count) substringData.toString()
Methods inherited from class org.loboevolution.html.dom.nodeimpl.NodeImpl
appendChild, appendInnerHTMLImpl, appendInnerTextImpl, clone, cloneNode, cloneNode, compareDocumentPosition, contains, createRenderState, findUINode, forgetRenderState, getATTRIBUTE_NODE, getAttributes, getBaseURI, getCDATA_SECTION_NODE, getChildIndex, getChildNodes, getChildren, getCOMMENT_NODE, getDescendents, getDOCUMENT_FRAGMENT_NODE, getDOCUMENT_NODE, getDOCUMENT_POSITION_CONTAINED_BY, getDOCUMENT_POSITION_CONTAINS, getDOCUMENT_POSITION_DISCONNECTED, getDOCUMENT_POSITION_FOLLOWING, getDOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, getDOCUMENT_POSITION_PRECEDING, getDOCUMENT_TYPE_NODE, getDocumentItem, getDocumentNode, getDocumentURL, getELEMENT_NODE, getENTITY_NODE, getENTITY_REFERENCE_NODE, getFeature, getFirstChild, getFirstChildByFilter, getFullURL, getHtmlRendererConfig, getHtmlRendererContext, getLastChild, getLocalName, getNamespaceURI, getNextElementSibling, getNextSibling, getNodeList, getNodeName, getNodeType, getNodeValue, getNONE, getNOTATION_NODE, getOwnerDocument, getParentElement, getParentModelNode, getParentNode, getParentRenderState, getPrefix, getPreviousElementSibling, getPreviousSibling, getPROCESSING_INSTRUCTION_NODE, getRenderState, getRootNode, getTEXT_NODE, getUINode, getUserAgentContext, getUserData, hasChildNodes, htmlEncodeChildText, informInvalid, informLayoutInvalid, informLookInvalid, informNodeLoaded, informPositionInvalid, informSizeInvalid, informStructureInvalid, insertAfter, insertAt, insertBefore, isDefaultNamespace, isEqualNode, isEqualOrDescendentOf, isIsConnected, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, prepend, prependChild, removeChild, removeChildAt, removeChildrenImpl, removeTableChildren, replaceAdjacentTextNodes, replaceChild, setDocumentItem, setNodeValue, setOwnerDocument, setOwnerDocument, setParentImpl, setPrefix, setUINode, setUserData, visit, visitImpl, warn, warn
Methods inherited from class org.loboevolution.html.dom.nodeimpl.event.EventTargetImpl
addEventListener, addEventListener, dispatchEvent, dispatchEvent, getFunction, removeEventListener, removeEventListener
Methods inherited from class org.loboevolution.js.AbstractScriptableDelegate
getScriptable, setScriptable
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isIsConnected, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, prepend, prependChild, removeChild, replaceChild, setNodeValue, setOwnerDocument, setPrefix, setUserData
Methods inherited from interface org.loboevolution.html.node.NonDocumentTypeChildNode
getNextElementSibling, getPreviousElementSibling
-
Field Details
-
text
-
-
Constructor Details
-
CharacterDataImpl
public CharacterDataImpl()Constructor for CharacterDataImpl.
-
CharacterDataImpl
Constructor for CharacterDataImpl.
- Parameters:
text
- aString
object.
-
-
Method Details
-
appendData
appendData.
- Specified by:
appendData
in interfaceCharacterData
- Parameters:
arg
- aString
object.
-
deleteData
public void deleteData(int offset, int count) deleteData.
- Specified by:
deleteData
in interfaceCharacterData
- Parameters:
offset
- aInteger
object.count
- aInteger
object.
-
getClassName
getClassName.
- Returns:
- a
String
object.
-
getData
getData.
- Specified by:
getData
in interfaceCharacterData
- Returns:
- a
String
object.
-
getLength
public int getLength()getLength.
- Specified by:
getLength
in interfaceCharacterData
- Returns:
- a
Integer
object.
-
getTextContent
getTextContent.
Gets the text content of this node and its descendents.- Specified by:
getTextContent
in interfaceNode
- Overrides:
getTextContent
in classNodeImpl
- Returns:
- a
String
object.
-
insertData
insertData.
- Specified by:
insertData
in interfaceCharacterData
- Parameters:
offset
- aInteger
object.arg
- aString
object.
-
replaceData
replaceData.
- Specified by:
replaceData
in interfaceCharacterData
- Parameters:
offset
- aInteger
object.count
- aInteger
object.arg
- aString
object.
-
setData
setData.
- Specified by:
setData
in interfaceCharacterData
- Parameters:
data
- aString
object.
-
setTextContent
setTextContent.
- Specified by:
setTextContent
in interfaceNode
- Overrides:
setTextContent
in classNodeImpl
- Parameters:
textContent
- aString
object.
-
substringData
substringData.
- Specified by:
substringData
in interfaceCharacterData
- Parameters:
offset
- aInteger
object.count
- aInteger
object.- Returns:
- a
String
object.
-
toString
-