| java.lang.Object org.enhydra.xml.NodeImpl org.enhydra.xml.CharacterDataImpl org.enhydra.xml.TextImpl
TextImpl | public TextImpl(TextImpl node)(Code) | | Constructs a TextImpl from the given node.
node, as a TextImpl . |
TextImpl | public TextImpl(String value)(Code) | | Constructs a TextImpl from the given node value.
value, as a String . |
TextImpl | public TextImpl(Node node)(Code) | | Constructs a TextImpl from a given node,
as a Node
node, as Node . |
beginToString | protected void beginToString(StringBuffer sb, Indent indent)(Code) | | Method beginToString for this class writes the value
of this node (text).
Parameters: sb - string buffer to add resulting string. Parameters: indent - used in formating the output. |
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. |
getNodeValue | public String getNodeValue() throws DOMException(Code) | | Returns the trimed node value associated with this node.
the node value, as a String . |
isElementContentWhitespace | public boolean isElementContentWhitespace()(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. throws: DOMException - (INDEX_SIZE_ERR) if offset is <0 or >length. throws: DOMException - (NO_MODIFICATION_ALLOWED_ERR) if node is read-only. |
|
|