Home | History | Annotate | Download | only in dom

Lines Matching refs:Text

16  * The <code>Text</code> interface inherits from <code>CharacterData</code>
18 * markup inside an element's content, the text is contained in a single
19 * object implementing the <code>Text</code> interface that is the only
21 * information items (elements, comments, etc.) and <code>Text</code> nodes
24 * <code>Text</code> node for each block of text. Users may create adjacent
25 * <code>Text</code> nodes that represent the contents of a given element
30 * <code>Text</code> objects into a single node for each block of text.
31 * <p> No lexical check is done on the content of a <code>Text</code> node
40 public interface Text extends CharacterData {
58 public Text splitText(int offset)
62 * Returns whether this text node contains <a href='http://www.w3.org/TR/2004/REC-xml-infoset-20040204#infoitem.character'>
63 * element content whitespace</a>, often abusively called "ignorable whitespace". The text node is
72 * Returns all text of <code>Text</code> nodes logically-adjacent text
75 * <code>Text</code> node that contains "bar" returns "barfoo", while on
76 * the <code>Text</code> node that contains "foo" it returns "barfoo".
82 * Replaces the text of the current node and all logically-adjacent text
83 * nodes with the specified text. All logically-adjacent text nodes are
85 * replacement text.
86 * <br>This method returns the node which received the replacement text.
89 * <li><code>null</code>, when the replacement text is
95 * <li> a new <code>Text</code> node of the same type (
96 * <code>Text</code> or <code>CDATASection</code>) as the current node
101 * <code>replaceWholeText</code> on the <code>Text</code> node that
107 * not <code>EntityReference</code>, <code>Text</code>, or
113 * <code>replaceWholeText</code> on the <code>Text</code> node that
116 * @param content The content of the replacing <code>Text</code> node.
117 * @return The <code>Text</code> node created with the specified content.
119 * NO_MODIFICATION_ALLOWED_ERR: Raised if one of the <code>Text</code>
123 public Text replaceWholeText(String content)