org.lobobrowser.html.domimpl
public class TextImpl extends CharacterDataImpl implements org.w3c.dom.Text
textdocument, 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 |
|---|
TextImpl() |
TextImpl(java.lang.String text) |
| Modifier and Type | Method and Description |
|---|---|
protected org.w3c.dom.Node |
createSimilarNode()
Should create a node with some cloned properties, like the node name,
but not attributes or children.
|
java.lang.String |
getLocalName() |
java.lang.String |
getNodeName() |
short |
getNodeType() |
java.lang.String |
getNodeValue() |
java.lang.String |
getWholeText() |
boolean |
isElementContentWhitespace() |
org.w3c.dom.Text |
replaceWholeText(java.lang.String content) |
void |
setNodeValue(java.lang.String nodeValue) |
void |
setTextContent(java.lang.String textContent) |
org.w3c.dom.Text |
splitText(int offset) |
java.lang.String |
toString() |
appendData, cloneNode, deleteData, getClassName, getData, getLength, getTextContent, insertData, replaceData, setData, substringDataappendChild, appendInnerHTMLImpl, appendInnerTextImpl, compareDocumentPosition, createRenderState, equalAttributes, findUINode, forgetRenderState, getAlignmentX, getAlignmentY, getAttributes, getBaseURI, getChildNodes, getChildren, getChildrenArray, getDescendents, getDocumentItem, getDocumentURL, getFeature, getFirstChild, getFullURL, getHtmlRendererContext, getInnerHTML, getInnerText, getLastChild, getNamespaceURI, getNextSibling, getNodeList, 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, setPrefix, setUINode, setUserData, warn, warngetScriptable, setScriptableclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitappendData, deleteData, getData, getLength, insertData, replaceData, setData, substringDataappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setPrefix, setUserDatapublic boolean isElementContentWhitespace()
isElementContentWhitespace in interface org.w3c.dom.Textpublic org.w3c.dom.Text replaceWholeText(java.lang.String content)
throws org.w3c.dom.DOMException
replaceWholeText in interface org.w3c.dom.Textorg.w3c.dom.DOMExceptionpublic org.w3c.dom.Text splitText(int offset)
throws org.w3c.dom.DOMException
splitText in interface org.w3c.dom.Textorg.w3c.dom.DOMExceptionpublic java.lang.String getWholeText()
getWholeText in interface org.w3c.dom.Textpublic java.lang.String getLocalName()
getLocalName in interface org.w3c.dom.NodegetLocalName in class NodeImplpublic java.lang.String getNodeName()
getNodeName in interface org.w3c.dom.NodegetNodeName in class NodeImplpublic short getNodeType()
getNodeType in interface org.w3c.dom.NodegetNodeType in class NodeImplpublic java.lang.String getNodeValue()
throws org.w3c.dom.DOMException
getNodeValue in interface org.w3c.dom.NodegetNodeValue in class NodeImplorg.w3c.dom.DOMExceptionpublic void setNodeValue(java.lang.String nodeValue)
throws org.w3c.dom.DOMException
setNodeValue in interface org.w3c.dom.NodesetNodeValue 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 CharacterDataImplorg.w3c.dom.DOMExceptionprotected org.w3c.dom.Node createSimilarNode()
NodeImplcreateSimilarNode in class NodeImplpublic java.lang.String toString()
toString in class CharacterDataImpl