public abstract class CharacterImpl extends LeafNode implements org.w3c.dom.CharacterData, OMNodeEx
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
textValue |
factory, FIRSTCHILD, flags, HAS_PARENT, SPECIFIEDATTRIBUTE_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_NODECDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE| Modifier | Constructor and Description |
|---|---|
protected |
CharacterImpl(OMFactory factory) |
|
CharacterImpl(java.lang.String value,
OMFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendData(java.lang.String value) |
void |
deleteData(int offset,
int count) |
java.lang.String |
getData()
Returns the value of the data.
|
int |
getLength()
Returns the length of the string value.
|
void |
insertData(int offset,
java.lang.String data)
Inserts a string at the specified offset.
|
void |
replaceData(int offset,
int count,
java.lang.String data)
If the given data is null the content will be deleted.
|
void |
setData(java.lang.String data)
Sets the text value of data.
|
java.lang.String |
substringData(int offset,
int count)
Extracts a range of data from the node.
|
appendChild, beforeClone, build, clone, createClone, discard, getBuilder, getChildNodes, getIParentNode, getNextOMSibling, getNextSibling, insertBefore, internalGetNextSibling, internalGetOwnerNode, internalGetPreviousSibling, internalSetNextSibling, internalSetOwnerNode, internalSetPreviousSibling, isComplete, lookupNamespaceURI, removeChild, replaceChild, setCompletebuildWithAttachments, checkSameOwnerDocument, clone, cloneNode, close, compareDocumentPosition, detach, detach, getAttributes, getBaseURI, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextOMSiblingIfAvailable, getNodeValue, getOMFactory, getOwnerDocument, getParent, getParentNode, getPrefix, getPreviousOMSibling, getPreviousSibling, getTextContent, getTextContent, getUserData, hasAttributes, hasChildNodes, hasParent, hasParent, insertSiblingAfter, insertSiblingBefore, internalSerialize, internalSerialize, internalSerializeAndConsume, isDefaultNamespace, isEqualNode, isFirstChild, isFirstChild, isSameNode, isSpecified, isSpecified, isSupported, lookupPrefix, normalize, normalize, ownerDocument, parentNode, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setNextOMSibling, setNodeValue, setOwnerDocument, setParent, setParent, setPrefix, setPreviousOMSibling, setTextContent, setUserDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendChild, 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, setUserDatagetNextOMSiblingIfAvailable, internalSerialize, internalSerialize, internalSerializeAndConsume, setComplete, setNextOMSibling, setParent, setPreviousOMSiblingbuildWithAttachments, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsumebuild, close, isComplete, serialize, serialize, serializeAndConsumeclone, getOMFactoryprotected CharacterImpl(OMFactory factory)
public CharacterImpl(java.lang.String value,
OMFactory factory)
public void appendData(java.lang.String value)
throws org.w3c.dom.DOMException
appendData in interface org.w3c.dom.CharacterDataorg.w3c.dom.DOMExceptionpublic void deleteData(int offset,
int count)
throws org.w3c.dom.DOMException
deleteData in interface org.w3c.dom.CharacterDataorg.w3c.dom.DOMExceptionpublic void replaceData(int offset,
int count,
java.lang.String data)
throws org.w3c.dom.DOMException
replaceData in interface org.w3c.dom.CharacterDataorg.w3c.dom.DOMExceptionpublic java.lang.String getData()
throws org.w3c.dom.DOMException
getData in interface org.w3c.dom.CharacterDataorg.w3c.dom.DOMExceptionpublic void insertData(int offset,
java.lang.String data)
throws org.w3c.dom.DOMException
insertData in interface org.w3c.dom.CharacterDataorg.w3c.dom.DOMExceptionpublic void setData(java.lang.String data)
throws org.w3c.dom.DOMException
setData in interface org.w3c.dom.CharacterDataorg.w3c.dom.DOMExceptionpublic java.lang.String substringData(int offset,
int count)
throws org.w3c.dom.DOMException
substringData in interface org.w3c.dom.CharacterDataorg.w3c.dom.DOMExceptionpublic int getLength()
getLength in interface org.w3c.dom.CharacterData