public class TextImpl extends CharacterDataImpl implements Text
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONSTATTRIBUTE_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() |
| Modifier and Type | Method and Description |
|---|---|
protected NodeImpl |
getChildIfPermitted(Node proposedChild) |
String |
getNodeName() |
short |
getNodeType() |
String |
getNodeValue() |
String |
getWholeText() |
static Node |
importNode(DocumentImpl document,
Text text) |
boolean |
isElementContentWhitespace() |
Text |
replaceWholeText(String content) |
void |
setNodeValue(String nodeValue) |
Text |
splitText(int offset) |
appendData, deleteData, getData, getLength, initialize, insertData, replaceData, setData, substringDataappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getElementsByTagName, getElementsByTagNames, getFeature, getFirstChild, getJavaPropertyName, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, initialize, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, preOrderIterator, preOrderIterator, preOrderIteratorAfterNode, preOrderIteratorAfterNode, removeChild, replaceChild, setPrefix, setTextContent, setUserDataclearCaches, createAnonymousFunctionName, get, getClassName, has, newScriptingEngine, putclearErrorMessages, discardDocumentWriteBuffer, doEvent, doEventScript, evaluateExpression, getDocumentWriteBuffer, getErrorMessages, handleEvent, handleScriptException, runScript, supportsScriptLanguageassociateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, hasInstance, hasProperty, hasProperty, isConst, isGetterOrSetter, isSealed, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendData, deleteData, getData, getLength, insertData, replaceData, setData, substringDataappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setPrefix, setTextContent, setUserDatapublic String getNodeName()
getNodeName in interface Nodepublic String getNodeValue() throws DOMException
getNodeValue in interface NodeDOMExceptionpublic void setNodeValue(String nodeValue) throws DOMException
setNodeValue in interface NodeDOMExceptionpublic short getNodeType()
getNodeType in interface Nodeprotected NodeImpl getChildIfPermitted(Node proposedChild)
getChildIfPermitted in class NodeImplpublic Text splitText(int offset) throws DOMException
splitText in interface TextDOMExceptionpublic static Node importNode(DocumentImpl document, Text text)
public boolean isElementContentWhitespace()
isElementContentWhitespace in interface Textpublic String getWholeText()
getWholeText in interface Textpublic Text replaceWholeText(String content) throws DOMException
replaceWholeText in interface TextDOMExceptionCopyright © 2012. All Rights Reserved.