public class KText extends KCharacterData implements org.w3c.dom.Text
ipos, sequenceATTRIBUTE_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| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getNodeName() |
short |
getNodeType() |
java.lang.String |
getWholeText() |
boolean |
hasAttributes() |
boolean |
isElementContentWhitespace() |
static KText |
make(java.lang.String text) |
org.w3c.dom.Text |
replaceWholeText(java.lang.String content) |
org.w3c.dom.Text |
splitText(int offset) |
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringDataappendChild, atomicValue, baseURI, cloneNode, coerce, compareDocumentPosition, consume, copy, getAttributes, getBaseURI, getChildNodes, getElementsByTagName, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeNameObject, getNodeSymbol, getNodeValue, getNodeValue, getNodeValue, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getTextContent, getUserData, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, make, make, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, toStringadd, finalize, fromEndIndex, getContainingSequenceSize, getNext, getNextKind, getNextTypeName, getNextTypeObject, getPos, getPrevious, gotoChildrenStart, gotoEnd, gotoNext, gotoPrevious, gotoStart, hasMoreElements, hasNext, hasPrevious, isAfter, next, nextElement, nextIndex, previous, previousIndex, release, remove, set, set, set, setNext, setPos, setPos, setPrevious, toInfoclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitappendData, deleteData, getData, getLength, insertData, replaceData, setData, substringDataappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDatapublic KText(NodeTree seq, int ipos)
public static KText make(java.lang.String text)
public short getNodeType()
getNodeType in interface org.w3c.dom.NodegetNodeType in class KNodepublic java.lang.String getNodeName()
getNodeName in interface org.w3c.dom.NodegetNodeName in class KNodepublic 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 org.w3c.dom.Text replaceWholeText(java.lang.String content)
throws org.w3c.dom.DOMException
replaceWholeText in interface org.w3c.dom.Textorg.w3c.dom.DOMExceptionpublic boolean hasAttributes()
hasAttributes in interface org.w3c.dom.NodehasAttributes in class KNodepublic boolean isElementContentWhitespace()
isElementContentWhitespace in interface org.w3c.dom.Text