gnu.kawa.xml

Class KText

Implemented Interfaces:
Consumable, java.util.Enumeration, java.util.ListIterator
Known Direct Subclasses:
KCDATASection

public class KText
extends KCharacterData

Field Summary

Fields inherited from class gnu.lists.SeqPosition

ipos, sequence

Constructor Summary

KText(NodeTree seq, int ipos)

Method Summary

String
getNodeName()
String
getWholeText()
boolean
hasAttributes()
boolean
isElementContentWhitespace()
static KText
make(String text)

Methods inherited from class gnu.kawa.xml.KCharacterData

getData, getLength

Methods inherited from class gnu.kawa.xml.KNode

atomicValue, baseURI, coerce, consume, copy, getBaseURI, getFeature, getLocalName, getNamespaceURI, getNodeName, getNodeNameObject, getNodeSymbol, getNodeValue, getNodeValue, getNodeValue, getNodeValue, getPrefix, getTextContent, getTextContent, hasAttributes, hasChildNodes, isDefaultNamespace, isSupported, lookupNamespaceURI, lookupPrefix, make, make, normalize, toString

Methods inherited from class gnu.lists.SeqPosition

add, copy, 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, toInfo, toString

Constructor Details

KText

public KText(NodeTree seq,
             int ipos)

Method Details

getNodeName

public String getNodeName()
Overrides:
getNodeName in interface KNode

getWholeText

public String getWholeText()

hasAttributes

public boolean hasAttributes()
Overrides:
hasAttributes in interface KNode

isElementContentWhitespace

public boolean isElementContentWhitespace()

make

public static KText make(String text)