/** * 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 */ protected DomText createSplitTextNode(final int offset) { return new DomText(getPage(), getData().substring(offset)); }
/** * 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 */ protected DomText createSplitTextNode(final int offset) { return new DomText(getPage(), getData().substring(offset)); }
/** * 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 */ protected DomText createSplitTextNode(final int offset) { return new DomText(getPage(), getData().substring(offset)); }
/** * 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 */ protected DomText createSplitTextNode(final int offset) { return new DomText(getPage(), getData().substring(offset)); }
/** * 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 */ protected DomText createSplitTextNode(final int offset) { return new DomText(getPage(), getData().substring(offset)); }