/** * Insert a string at the specified 16-bit unit offset. * @param offset The character offset at which to insert. * @param arg The <code>DOMString</code> to insert. * @exception DOMException * INDEX_SIZE_ERR: Raised if the specified <code>offset</code> is * negative or greater than the number of 16-bit units in * <code>data</code>. * <br>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. */ public final void insertData(int offset, String arg) throws JavaScriptException { ((Text)ot.cast()).insertData(offset, arg); };
/** * Insert a string at the specified 16-bit unit offset. * @param offset The character offset at which to insert. * @param arg The <code>DOMString</code> to insert. * @exception DOMException * INDEX_SIZE_ERR: Raised if the specified <code>offset</code> is * negative or greater than the number of 16-bit units in * <code>data</code>. * <br>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. */ public final void insertData(int offset, String arg) throws JavaScriptException { ((Text)ot.cast()).insertData(offset, arg); };