/** * This will return a clone of this <code>Text</code> node, with the same character content, but * no parent. * * @return <code>Text</code> - cloned node. */ public Object clone() { Text text = (Text) super.clone(); text.value = value; return text; }