| com.google.gwt.xml.client.CharacterData
CharacterData | public interface CharacterData extends Node(Code) | | This interface describes CharacterData XML nodes. These can be
either Text , CDATASection or
Comment nodes.
|
Method Summary | |
public void | appendData(String appendedData) This method appends data to the data in this
CharacterData . | public void | deleteData(int offset, int count) This method deletes data, starting at offset , and deleting
count characters. | public String | getData() This method retrieves the data. | public int | getLength() This method retrieves the length of the data. | public void | insertData(int offset, String insertedData) This method inserts data at the specified offset. | public void | replaceData(int offset, int count, String replacementData) This method replaces the substring of data indicated by offset
and count with replacementData . | public void | setData(String data) This method sets the data to data . | public String | substringData(int offset, int count) This method gets a substring of the character data. |
appendData | public void appendData(String appendedData)(Code) | | This method appends data to the data in this
CharacterData .
Parameters: appendedData - the data to be appended to the end |
deleteData | public void deleteData(int offset, int count)(Code) | | This method deletes data, starting at offset , and deleting
count characters.
Parameters: offset - how far from the beginning to start deleting Parameters: count - how many characters to delete |
getData | public String getData()(Code) | | This method retrieves the data.
the data of this CharacterData |
getLength | public int getLength()(Code) | | This method retrieves the length of the data.
the length of the data contained in this CharacterData |
insertData | public void insertData(int offset, String insertedData)(Code) | | This method inserts data at the specified offset.
Parameters: offset - how far from the beginning to start inserting Parameters: insertedData - the data to be inserted |
replaceData | public void replaceData(int offset, int count, String replacementData)(Code) | | This method replaces the substring of data indicated by offset
and count with replacementData .
Parameters: offset - how far from the beginning to start the replacement Parameters: replacementData - the data that will replace the deleted data Parameters: count - how many characters to delete before insertingreplacementData |
setData | public void setData(String data)(Code) | | This method sets the data to data .
Parameters: data - the new data |
substringData | public String substringData(int offset, int count)(Code) | | This method gets a substring of the character data.
Parameters: offset - the place to start the substring Parameters: count - how many characters to return the specified substring |
|
|