| java.lang.Object org.enhydra.xml.NodeImpl org.enhydra.xml.CharacterDataImpl
All known Subclasses: org.enhydra.xml.CommentImpl, org.enhydra.xml.TextImpl,
CharacterDataImpl | public class CharacterDataImpl extends NodeImpl implements CharacterData(Code) | | author: Tweety author: A class representing a node in a meta-data tree, which implements author: the version: 1.0 |
Method Summary | |
public void | appendData(String arg) Appends data to the node's value. | public void | deleteData(int offset, int count) Deletes characters from the node's value string. | public String | getData() Returns node value. | public String | getNamespaceURI() Returns the namespace of the node. | public void | insertData(int offset, String arg) Inserts substring into node's value string. | public void | replaceData(int offset, int count, String arg) Replaces characters in the node's value string. | public void | setData(String data) Sets the new value of this node. | public String | substringData(int offset, int count) Returns the substring from the node's value.
Parameters: offset - the begin index of the substring. Parameters: count - the number of characters. |
CharacterDataImpl | public CharacterDataImpl()(Code) | | Constructs an empty CharacterDataImpl .
|
CharacterDataImpl | public CharacterDataImpl(Node node)(Code) | | Constructs a CharacterDataImpl from the
given node as Node .
node, as a Node . |
appendData | public void appendData(String arg)(Code) | | Appends data to the node's value.
Parameters: arg - the data to append to the node's value. See Also: org.w3c.dom.CharacterData#appendData(String). |
deleteData | public void deleteData(int offset, int count) throws DOMException(Code) | | Deletes characters from the node's value string.
Parameters: offset - the begin index of the substring. Parameters: count - the number of characters. See Also: org.w3c.dom.CharacterData#deleteData(int, int). |
getData | public String getData() throws DOMException(Code) | | Returns node value.
node value, as String . See Also: org.w3c.dom.CharacterData#getData(). |
getNamespaceURI | public String getNamespaceURI()(Code) | | Returns the namespace of the node.
the namespace of the node. See Also: org.w3c.dom.Node#getNamespaceURI(). |
insertData | public void insertData(int offset, String arg) throws DOMException(Code) | | Inserts substring into node's value string.
Parameters: offset - the begin index of the substring. Parameters: arg - the String to insert. See Also: org.w3c.dom.CharacterData#insertData(int, String). |
replaceData | public void replaceData(int offset, int count, String arg) throws DOMException(Code) | | Replaces characters in the node's value string.
Parameters: offset - the begin index of the substring. Parameters: count - the number of characters. Parameters: arg - the String to insert. See Also: org.w3c.dom.CharacterData#replaceData(int, int, String). |
setData | public void setData(String data) throws DOMException(Code) | | Sets the new value of this node.
Parameters: data - the new data See Also: org.w3c.dom.CharacterData#setData(String). |
substringData | public String substringData(int offset, int count) throws DOMException(Code) | | Returns the substring from the node's value.
Parameters: offset - the begin index of the substring. Parameters: count - the number of characters. substring of the node's value. See Also: org.w3c.dom.CharacterData#substringData(int, int). |
|
|