Creates a new text node split from another text node. This method allows the derived type of the new text node to match the original node type. @param offset the character position at which to split the DomText node @return the newly created Text node
(final int offset)
| 80 | * @return the newly created Text node |
| 81 | */ |
| 82 | protected DomText createSplitTextNode(final int offset) { |
| 83 | return new DomText(getPage(), getData().substring(offset)); |
| 84 | } |
| 85 | |
| 86 | /** |
| 87 | * {@inheritDoc} |