|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.entry.NodeImpl
com.ibm.di.entry.CharacterDataImpl
public abstract class CharacterDataImpl
Field Summary |
---|
Fields inherited from class com.ibm.di.entry.NodeImpl |
---|
parent |
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 | |
---|---|
CharacterDataImpl()
|
Method Summary | |
---|---|
void |
appendData(java.lang.String moreData)
|
void |
deleteData(int offset,
int count)
|
int |
getLength()
|
java.lang.String |
getNodeValue()
|
java.lang.String |
getWholeText()
Gathers all the CharacterData (Text or CDATA) objects that are siblings to this node and return the text data separated by the "\r\n" string. |
void |
insertData(int offset,
java.lang.String data)
|
boolean |
isElementContentWhitespace()
not implemented |
void |
replaceData(int offset,
int count,
java.lang.String data)
|
org.w3c.dom.Text |
replaceWholeText(java.lang.String arg0)
not implemented |
void |
setNodeValue(java.lang.String nodeValue)
|
org.w3c.dom.Text |
splitText(int arg0)
not implemented |
java.lang.String |
substringData(int offset,
int count)
|
java.lang.String |
toString()
|
Methods inherited from class com.ibm.di.entry.NodeImpl |
---|
appendChild, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeName, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, internalLookupPrefix, internalNSLookup, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setTextContent, setUserData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.w3c.dom.CharacterData |
---|
getData, setData |
Methods inherited from interface org.w3c.dom.Node |
---|
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setPrefix, setTextContent, setUserData |
Constructor Detail |
---|
public CharacterDataImpl()
Method Detail |
---|
public java.lang.String getWholeText()
public void appendData(java.lang.String moreData) throws org.w3c.dom.DOMException
appendData
in interface org.w3c.dom.CharacterData
moreData
- - the data that will be appended to the current data
org.w3c.dom.DOMException
public void deleteData(int offset, int count) throws org.w3c.dom.DOMException
deleteData
in interface org.w3c.dom.CharacterData
offset
- - the position to start deleting from.count
- - the number of characters to delete.
org.w3c.dom.DOMException
public int getLength()
getLength
in interface org.w3c.dom.CharacterData
public void insertData(int offset, java.lang.String data) throws org.w3c.dom.DOMException
insertData
in interface org.w3c.dom.CharacterData
offset
- - the offset from the start at which to begin the inserting.data
- - the data to be inserted.
org.w3c.dom.DOMException
public void replaceData(int offset, int count, java.lang.String data) throws org.w3c.dom.DOMException
replaceData
in interface org.w3c.dom.CharacterData
offset
- - the offset from the start at which to begin the replacing.count
- - the number of characters to be removed.zdata
- - the data to be inserted.
org.w3c.dom.DOMException
public java.lang.String substringData(int offset, int count) throws org.w3c.dom.DOMException
substringData
in interface org.w3c.dom.CharacterData
offset
- - the offset from the start at which to begin retrieving.count
- - the number of chars to return
org.w3c.dom.DOMException
public java.lang.String getNodeValue() throws org.w3c.dom.DOMException
getNodeValue
in interface org.w3c.dom.Node
org.w3c.dom.DOMException
public void setNodeValue(java.lang.String nodeValue) throws org.w3c.dom.DOMException
setNodeValue
in interface org.w3c.dom.Node
org.w3c.dom.DOMException
public boolean isElementContentWhitespace()
public org.w3c.dom.Text replaceWholeText(java.lang.String arg0) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
public org.w3c.dom.Text splitText(int arg0) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |