|
XML for Java Compatibility API 2.0.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.ibm.xml.parser.Child
|
+--com.ibm.xml.parser.TXCharacterData
The TXCharacterData class implements the CharacterData interface as defined by the Document Object Model (DOM).
CharacterData, Serialized Form| Fields inherited from class com.ibm.xml.parser.Child |
ATTDEF,
ATTLIST,
ELEMENT_DECL,
NAME_ATTDEF,
NAME_ATTLIST,
NAME_CDATA,
NAME_COMMENT,
NAME_DOCFRAGMENT,
NAME_DOCUMENT,
NAME_ELEMENT_DECL,
NAME_PSEUDONODE,
NAME_TEXT,
PSEUDONODE |
| Constructor Summary | |
TXCharacterData()
|
|
| Method Summary | |
void |
appendData(java.lang.String data)
Append data to the end of the character data in this Text Node. |
void |
deleteData(int offset,
int count)
Delete characters at the specified character offset. |
java.lang.String |
getData()
Returns the actual content. |
int |
getLength()
This method is defined by DOM. |
java.lang.String |
getNodeValue()
This method is defined by DOM. |
void |
insertData(int offset,
java.lang.String data)
Insert data at the specified character offset. |
void |
replaceData(int offset,
int count,
java.lang.String data)
Replace the characters starting at the specified character offset with the specified string. |
void |
setData(java.lang.String data)
Sets the actual content. |
void |
setNodeValue(java.lang.String data)
Sets the actual content. |
java.lang.String |
substringData(int start,
int count)
Returns a substring in specified range. |
| Methods inherited from class com.ibm.xml.parser.Child |
appendChild,
clearDigest,
clone,
cloneNode,
equals,
getAttributes,
getChildNodes,
getDigest,
getFactory,
getFirstChild,
getFirstWithoutReference,
getLastChild,
getLastWithoutReference,
getNextSibling,
getNextWithoutReference,
getOwnerDocument,
getParentNode,
getParentWithoutReference,
getPreviousSibling,
getPreviousWithoutReference,
getText,
getUserData,
hasChildNodes,
insertBefore,
makeXPointer,
print,
print,
removeChild,
replaceChild,
searchAncestors,
searchAncestors,
setFactory,
setUserData,
toXMLString,
toXMLString |
| Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public TXCharacterData()
| Method Detail |
public java.lang.String getNodeValue()
This method is defined by DOM.
public java.lang.String getData()
This method is defined by DOM.
setData(java.lang.String)public void setNodeValue(java.lang.String data)
This method is defined by DOM.
data - The actual content.getNodeValue()public void setData(java.lang.String data)
This method is defined by DOM.
data - The actual content.getData()public int getLength()
This method is defined by DOM.
public java.lang.String substringData(int start,
int count)
throws org.w3c.dom.DOMException
This method is defined by DOM.
start - Start offset to extract.count - The number of characters to extract.
public void appendData(java.lang.String data)
throws org.w3c.dom.DOMException
This method is defined by DOM.
data - Data to append to existing character data in this Text Node.insertData(int, java.lang.String),
replaceData(int, int, java.lang.String)
public void insertData(int offset,
java.lang.String data)
throws org.w3c.dom.DOMException
This method is defined by DOM.
offset - 0-based offset into existing character data in this Text Node.data - Data to insert into existing character data in this Text Node.appendData(java.lang.String),
replaceData(int, int, java.lang.String)
public void deleteData(int offset,
int count)
throws org.w3c.dom.DOMException
This method is defined by DOM.
offset - 0-based offset into existing character data in this Text Node.count - Number of characters to delete.appendData(java.lang.String),
replaceData(int, int, java.lang.String)
public void replaceData(int offset,
int count,
java.lang.String data)
throws org.w3c.dom.DOMException
This method is defined by DOM.
offset - 0-based offset into existing character data in this Text Node.count - Number of existing characters to replace.data - Data to insert into existing character data in this Text Node.appendData(java.lang.String),
insertData(int, java.lang.String),
deleteData(int, int)
|
XML for Java Compatibility API 2.0.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||