public DOMImplementation getDOMImplementation() {
return domImplementation;
}
protected DocumentBuilderFactory createDocumentBuilderFactory(boolean resolveEntities, boolean validate) {
DocumentBuilderFactory dbFactory = new DocumentBuilderFactoryImpl();
dbFactory.setNamespaceAware(true);
dbFactory.setExpandEntityReferences(resolveEntities);
dbFactory.setValidating(validate);
return dbFactory;
}