Package gnu.kawa.xml
Class KCharacterData
- java.lang.Object
-
- gnu.lists.SeqPosition<java.lang.Object,NodeTree>
-
- gnu.kawa.xml.KNode
-
- gnu.kawa.xml.KCharacterData
-
- All Implemented Interfaces:
Consumable,java.util.Enumeration<java.lang.Object>,java.util.Iterator<java.lang.Object>,java.util.ListIterator<java.lang.Object>,org.w3c.dom.CharacterData,org.w3c.dom.Node
public abstract class KCharacterData extends KNode implements org.w3c.dom.CharacterData
-
-
Field Summary
-
Fields inherited from class gnu.lists.SeqPosition
ipos, sequence
-
Fields 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 Constructor Description KCharacterData(NodeTree seq, int ipos)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendData(java.lang.String data)voiddeleteData(int offset, int count)java.lang.StringgetData()intgetLength()Non-optimized.voidinsertData(int offset, java.lang.String data)voidreplaceData(int offset, int count, java.lang.String arg)voidsetData(java.lang.String data)java.lang.StringsubstringData(int offset, int count)-
Methods 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, getNodeName, getNodeNameObject, getNodeSymbol, getNodeType, getNodeValue, getNodeValue, getNodeValue, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, make, make, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, toString
-
Methods 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, toInfo
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
-
-
-
Constructor Detail
-
KCharacterData
public KCharacterData(NodeTree seq, int ipos)
-
-
Method Detail
-
getLength
public int getLength()
Non-optimized.- Specified by:
getLengthin interfaceorg.w3c.dom.CharacterData
-
getData
public java.lang.String getData()
- Specified by:
getDatain interfaceorg.w3c.dom.CharacterData
-
setData
public void setData(java.lang.String data) throws org.w3c.dom.DOMException- Specified by:
setDatain interfaceorg.w3c.dom.CharacterData- Throws:
org.w3c.dom.DOMException
-
substringData
public java.lang.String substringData(int offset, int count) throws org.w3c.dom.DOMException- Specified by:
substringDatain interfaceorg.w3c.dom.CharacterData- Throws:
org.w3c.dom.DOMException
-
appendData
public void appendData(java.lang.String data) throws org.w3c.dom.DOMException- Specified by:
appendDatain interfaceorg.w3c.dom.CharacterData- Throws:
org.w3c.dom.DOMException
-
insertData
public void insertData(int offset, java.lang.String data) throws org.w3c.dom.DOMException- Specified by:
insertDatain interfaceorg.w3c.dom.CharacterData- Throws:
org.w3c.dom.DOMException
-
deleteData
public void deleteData(int offset, int count) throws org.w3c.dom.DOMException- Specified by:
deleteDatain interfaceorg.w3c.dom.CharacterData- Throws:
org.w3c.dom.DOMException
-
replaceData
public void replaceData(int offset, int count, java.lang.String arg) throws org.w3c.dom.DOMException- Specified by:
replaceDatain interfaceorg.w3c.dom.CharacterData- Throws:
org.w3c.dom.DOMException
-
-