return createOMText(null, dataHandler, optimize, false);
}
public OMText createOMText(OMContainer parent, Object dataHandler, boolean optimize,
boolean fromBuilder) {
TextImpl text = new TextImpl(dataHandler, optimize, this);
if (parent != null) {
((OMContainerEx)parent).addChild(text, fromBuilder);
}
return text;
}