|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--integre.techexplorer.dom.TENode
|
+--integre.techexplorer.dom.TECharacterData
|
+--integre.techexplorer.dom.TEText
techexplorer,
org.w3c.dom| Fields inherited from interface org.w3c.dom.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 |
| Constructor Summary | |
TEText(techexplorer teobject,
int node)
|
|
| Method Summary | |
Text |
splitText(int offset)
Breaks this Text node into two Text nodes at the specified
offset, keeping both in the tree as siblings. |
| Methods inherited from class integre.techexplorer.dom.TECharacterData |
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringData |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.CharacterData |
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringData |
| Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, hasChildNodes, insertBefore, removeChild, replaceChild, setNodeValue |
| Constructor Detail |
public TEText(techexplorer teobject,
int node)
| Method Detail |
public Text splitText(int offset)
throws DOMException
TextText node into two Text nodes at the specified
offset, keeping both in the tree as siblings. This node then only
contains all the content up to the offset point. And a new
Text node, which is inserted as the next sibling of this
node, contains all the content at and after the offset
point.splitText in interface Textorg.w3c.dom.Textoffset - The offset at which to split, starting from 0.Text node.DOMException - INDEX_SIZE_ERR: Raised if the specified offset is negative or greater
than the number of characters in data.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||