Package gnu.kawa.xml
Class KText
java.lang.Object
gnu.lists.SeqPosition<Object,NodeTree>
gnu.kawa.xml.KNode
gnu.kawa.xml.KCharacterData
gnu.kawa.xml.KText
- All Implemented Interfaces:
Consumable,Enumeration<Object>,Iterator<Object>,ListIterator<Object>,CharacterData,Node,Text
- Direct Known Subclasses:
KCDATASection
-
Field Summary
Fields inherited from class gnu.lists.SeqPosition
ipos, sequenceFields inherited from interface org.w3c.dom.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, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionshortbooleanbooleanstatic KTextreplaceWholeText(String content) splitText(int offset) Methods inherited from class gnu.kawa.xml.KCharacterData
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringDataMethods inherited from class gnu.kawa.xml.KNode
appendChild, 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, toStringMethods inherited from class gnu.lists.SeqPosition
add, finalize, fromEndIndex, getContainingSequenceSize, getNext, getNextKind, getNextTypeName, getNextTypeObject, getPos, getPrevious, gotoChildrenStart, gotoEnd, gotoNext, gotoPrevious, gotoStart, hasMoreElements, hasNext, hasPrevious, isAfter, make, next, nextElement, nextIndex, previous, previousIndex, release, remove, set, set, set, setNext, setPos, setPos, setPrevious, toInfoMethods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.w3c.dom.CharacterData
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringDataMethods inherited from interface java.util.Enumeration
asIteratorMethods inherited from interface java.util.Iterator
forEachRemainingMethods inherited from interface org.w3c.dom.Node
appendChild, 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, setUserData
-
Constructor Details
-
KText
-
-
Method Details
-
make
-
getNodeType
public short getNodeType()- Specified by:
getNodeTypein interfaceNode- Specified by:
getNodeTypein classKNode
-
getNodeName
- Specified by:
getNodeNamein interfaceNode- Overrides:
getNodeNamein classKNode
-
splitText
- Specified by:
splitTextin interfaceText- Throws:
DOMException
-
getWholeText
- Specified by:
getWholeTextin interfaceText
-
replaceWholeText
- Specified by:
replaceWholeTextin interfaceText- Throws:
DOMException
-
hasAttributes
public boolean hasAttributes()- Specified by:
hasAttributesin interfaceNode- Overrides:
hasAttributesin classKNode
-
isElementContentWhitespace
public boolean isElementContentWhitespace()- Specified by:
isElementContentWhitespacein interfaceText
-