|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Text
This interface describes text nodes, as might occur between tags. These may
also be CDATASection
nodes.
Field Summary |
---|
Fields inherited from interface com.google.gwt.xml.client.Node |
---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Method Summary | |
---|---|
Text |
splitText(int offset)
Splits the node into two text nodes. |
Methods inherited from interface com.google.gwt.xml.client.CharacterData |
---|
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringData |
Methods inherited from interface com.google.gwt.xml.client.Node |
---|
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, normalize, removeChild, replaceChild, setNodeValue |
Method Detail |
---|
Text splitText(int offset)
offset
, and the new node is inserted as the next sibling.
The new node created is also returned.
offset
- how far from the beginning to start splitting
Text
node containing the data after offset
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |