return new TextImpl(parent, (TextImpl) source, this);
}
public OMText createOMText(OMContainer parent, char[] charArary, int type) {
ElementImpl parentElem = (ElementImpl) parent;
TextImpl txt = new TextImpl((DocumentImpl) parentElem
.getOwnerDocument(), charArary, this);
parentElem.addChild(txt);
return txt;
}