/** Convenience wrapper for calling setNodeValueInternal when * we are not performing a replacement operation */ protected void setNodeValueInternal (String value) { setNodeValueInternal(value, false); }
/** * Sets the content, possibly firing related events, * and updating ranges (via notification to the document) */ public void setNodeValue(String value) { setNodeValueInternal(value); // notify document ownerDocument().replacedText(this); }
setNodeValueInternal(value, replace);
(tailLength > 0 ? data.substring(offset + count, offset + count + tailLength) : ""); setNodeValueInternal(value, replace);