| java.lang.Object org.enhydra.xml.NodeImpl org.enhydra.xml.CharacterDataImpl org.enhydra.xml.TextImpl
Method Summary | |
public Node | appendChild(Node newChild) | public void | appendData(String arg) | protected void | beginToString(StringBuffer sb, Indent indent) Method beginToString for this class writes the value
of this node (text).It should replace all special characters with their escape entitys. | protected void | checkNode(Node node) | public Node | cloneNode(boolean deep) | public short | compareDocumentPosition(Node other) | public void | deleteData(int offset, int count) | protected void | endToString(StringBuffer sb, Indent indent) Method endToString does nothing. | public NamedNodeMap | getAttributes() | public String | getBaseURI() | public NodeList | getChildNodes() | public String | getData() | public Object | getFeature(String feature, String version) | public Node | getFirstChild() | public Node | getLastChild() | public int | getLength() | public String | getLocalName() | public String | getNamespaceURI() | public Node | getNextSibling() | public String | getNodeName() Returns the name ("#text") associated with this node. | public short | getNodeType() Returns the node type. | public String | getNodeValue() Returns the trimed node value associated with this node. | public Document | getOwnerDocument() | public Node | getParentNode() | public String | getPrefix() | public Node | getPreviousSibling() | public String | getTextContent() | public Object | getUserData(String key) | public String | getWholeText() | public boolean | hasAttributes() | public boolean | hasChildNodes() | protected void | initNodeImplChildren(Node node) | public Node | insertBefore(Node newChild, Node refChild) | public void | insertData(int offset, String arg) | public boolean | isDefaultNamespace(String namespaceURI) | public boolean | isElementContentWhitespace() | public boolean | isEqualNode(Node arg) | public boolean | isSameNode(Node other) | public boolean | isSupported(String feature, String version) | public Node | item(int index) | public String | lookupNamespaceURI(String prefix) | public String | lookupPrefix(String namespaceURI) | protected Node | newCommentInstance(Node node) | protected Node | newDefaultInstance(Node node) | protected Node | newElementInstance(Node node) | protected Node | newTextInstance(Node node) | public void | normalize() | public Node | removeChild(Node oldChild) | public Node | replaceChild(Node newChild, Node oldChild) | public void | replaceData(int offset, int count, String arg) | public Text | replaceWholeText(String content) | public void | setData(String data) | public void | setNodeValue(String nodeValue) | public void | setPrefix(String prefix) | public void | setTextContent(String textContent) | public Object | setUserData(String key, Object data, UserDataHandler handler) | public Text | splitText(int offset) See Also: org.w3c.dom.Text.splitText(int) See Also: Break a text node into two sibling nodes. | public String | substringData(int offset, int count) | public String | toString() | public String | toString(String tab) |
TextImpl | public TextImpl(TextImpl node)(Code) | | Constructs a TextImpl from the given node.
Parameters: node - , as a TextImpl . |
TextImpl | public TextImpl(String value)(Code) | | Constructs a TextImpl from the given node value.
Parameters: value - , as a String . |
TextImpl | public TextImpl(Node node)(Code) | | Constructs a TextImpl from a given node,
as a Node
Parameters: node - , as Node . |
beginToString | protected void beginToString(StringBuffer sb, Indent indent)(Code) | | Method beginToString for this class writes the value
of this node (text).It should replace all special characters with their escape entitys.
Parameters: sb - string buffer to add resulting string. Parameters: indent - used in formating the output. |
cloneNode | public Node cloneNode(boolean deep)(Code) | | |
endToString | protected void endToString(StringBuffer sb, Indent indent)(Code) | | Method endToString does nothing.
Parameters: sb - is StringBuffer Parameters: indent - is indentation |
getLength | public int getLength()(Code) | | |
getNodeName | public String getNodeName()(Code) | | Returns the name ("#text") associated with this node.
the name, as a String . |
getNodeType | public short getNodeType()(Code) | | Returns the node type.
the TEXT_NODE node type. |
getPreviousSibling | public Node getPreviousSibling()(Code) | | |
hasAttributes | public boolean hasAttributes()(Code) | | |
hasChildNodes | public boolean hasChildNodes()(Code) | | |
initNodeImplChildren | protected void initNodeImplChildren(Node node)(Code) | | |
isDefaultNamespace | public boolean isDefaultNamespace(String namespaceURI)(Code) | | |
isElementContentWhitespace | public boolean isElementContentWhitespace()(Code) | | |
isEqualNode | public boolean isEqualNode(Node arg)(Code) | | |
isSameNode | public boolean isSameNode(Node other)(Code) | | |
normalize | public void normalize()(Code) | | |
setNodeValue | public void setNodeValue(String nodeValue)(Code) | | |
splitText | public Text splitText(int offset) throws DOMException(Code) | | See Also: org.w3c.dom.Text.splitText(int) See Also: Break a text node into two sibling nodes. (Note that if the See Also: current node has no parent, they won't wind up as "siblings" -- See Also: they'll both be orphans.) Parameters: offset - The offset at which to split. If offset is at theend of the available data, the second node will be empty. A reference to the new node (containing data after theoffset point). The original node will contain data up to thatpoint. throws: DOMException - (INDEX_SIZE_ERR) if offset is <0 or >length. throws: DOMException - (NO_MODIFICATION_ALLOWED_ERR) if node is read-only. |
|
|