return createOMDocType(parent, rootName, publicId, systemId, internalSubset, false);
}
public OMDocType createOMDocType(OMContainer parent, String rootName, String publicId,
String systemId, String internalSubset, boolean fromBuilder) {
DocumentTypeImpl docType = new DocumentTypeImpl(rootName, publicId, systemId, internalSubset, this);
if (parent != null) {
((OMContainerEx)parent).addChild(docType, fromBuilder);
}
return docType;
}