org.lobobrowser.html.domimpl
public abstract class CharacterDataImpl extends NodeImpl implements org.w3c.dom.CharacterData
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
text |
document, logger, nodeList, notificationsSuspended, parentNode, treeLock, uiNodeATTRIBUTE_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 and Description |
|---|
CharacterDataImpl() |
CharacterDataImpl(java.lang.String text) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendData(java.lang.String arg) |
org.w3c.dom.Node |
cloneNode(boolean deep) |
void |
deleteData(int offset,
int count) |
java.lang.String |
getClassName() |
java.lang.String |
getData() |
int |
getLength() |
java.lang.String |
getTextContent()
Gets the text content of this node
and its descendents.
|
void |
insertData(int offset,
java.lang.String arg) |
void |
replaceData(int offset,
int count,
java.lang.String arg) |
void |
setData(java.lang.String data) |
void |
setTextContent(java.lang.String textContent) |
java.lang.String |
substringData(int offset,
int count) |
java.lang.String |
toString() |
appendChild, appendInnerHTMLImpl, appendInnerTextImpl, compareDocumentPosition, createRenderState, createSimilarNode, equalAttributes, findUINode, forgetRenderState, getAlignmentX, getAlignmentY, getAttributes, getBaseURI, getChildNodes, getChildren, getChildrenArray, getDescendents, getDocumentItem, getDocumentURL, getFeature, getFirstChild, getFullURL, getHtmlRendererContext, getInnerHTML, getInnerText, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeList, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentModelNode, getParentNode, getParentRenderState, getPrefix, getPreviousSibling, getRenderState, getUINode, getUserAgentContext, getUserData, hasAttributes, hasChildNodes, htmlEncodeChildText, informDocumentInvalid, informExternalScriptLoading, informInvalid, informLayoutInvalid, informLookInvalid, informNodeLoaded, informPositionInvalid, informSizeInvalid, informStructureInvalid, insertAfter, insertAt, insertBefore, isDefaultNamespace, isEqualNode, isEqualOrDescendentOf, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeAllChildren, removeAllChildrenImpl, removeChild, removeChildAt, removeChildren, removeChildrenImpl, replaceAdjacentTextNodes, replaceAdjacentTextNodes, replaceChild, setDocumentItem, setNodeValue, setPrefix, setUINode, setUserData, warn, warngetScriptable, setScriptableclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitappendChild, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setUserDatapublic CharacterDataImpl()
public CharacterDataImpl(java.lang.String text)
public java.lang.String getClassName()
public java.lang.String getTextContent()
throws org.w3c.dom.DOMException
NodeImplgetTextContent in interface org.w3c.dom.NodegetTextContent in class NodeImplorg.w3c.dom.DOMExceptionpublic void setTextContent(java.lang.String textContent)
throws org.w3c.dom.DOMException
setTextContent in interface org.w3c.dom.NodesetTextContent in class NodeImplorg.w3c.dom.DOMExceptionpublic org.w3c.dom.Node cloneNode(boolean deep)
public void appendData(java.lang.String arg)
throws org.w3c.dom.DOMException
appendData in interface org.w3c.dom.CharacterDataorg.w3c.dom.DOMExceptionpublic void deleteData(int offset,
int count)
throws org.w3c.dom.DOMException
deleteData in interface org.w3c.dom.CharacterDataorg.w3c.dom.DOMExceptionpublic java.lang.String getData()
throws org.w3c.dom.DOMException
getData in interface org.w3c.dom.CharacterDataorg.w3c.dom.DOMExceptionpublic int getLength()
getLength in interface org.w3c.dom.CharacterDatapublic void insertData(int offset,
java.lang.String arg)
throws org.w3c.dom.DOMException
insertData in interface org.w3c.dom.CharacterDataorg.w3c.dom.DOMExceptionpublic void replaceData(int offset,
int count,
java.lang.String arg)
throws org.w3c.dom.DOMException
replaceData in interface org.w3c.dom.CharacterDataorg.w3c.dom.DOMExceptionpublic void setData(java.lang.String data)
throws org.w3c.dom.DOMException
setData in interface org.w3c.dom.CharacterDataorg.w3c.dom.DOMExceptionpublic java.lang.String substringData(int offset,
int count)
throws org.w3c.dom.DOMException
substringData in interface org.w3c.dom.CharacterDataorg.w3c.dom.DOMException