setText(type, value);
} else if (Type.HTML.equals(type)) {
_removeAllChildren();
setText(type, value);
} else if (Type.XHTML.equals(type)) {
IRI baseUri = null;
Element element = null;
value = "<div xmlns=\"" + XHTML_NS + "\">" + value + "</div>";
try {
baseUri = getResolvedBaseUri();
element = _parse(value, baseUri);
} catch (Exception e) {
}
if (element != null && element instanceof Div)
setValueElement((Div)element);
} else if (Type.XML.equals(type)) {
IRI baseUri = null;
Element element = null;
try {
baseUri = getResolvedBaseUri();
element = _parse(value, baseUri);
} catch (Exception e) {