* use in single thread.
*
* @param validate : do XML validation or not.
*/
public DqcFactory(boolean validate) {
XMLEntityResolver jaxp = new XMLEntityResolver(validate);
builder = jaxp.getSAXBuilder();
warnMessages = jaxp.getWarningMessages();
errMessages = jaxp.getErrorMessages();
fatalMessages = jaxp.getFatalMessages();
setDefaults();
}