public DOMTestDocumentBuilderFactory newInstance(DocumentBuilderSetting[] newSettings) throws DOMTestIncompatibleException {
  if (newSettings == null) {
    return this;
  }
  DocumentBuilderSetting[] mergedSettings=mergeSettings(newSettings);
  return new BatikTestDocumentBuilderFactory(mergedSettings);
}

public DOMTestDocumentBuilderFactory newInstance ( DocumentBuilderSetting [ ] newSettings ) throws DOMTestIncompatibleException { if ( newSettings == null ) { return this ; } DocumentBuilderSetting [ ] mergedSettings = mergeSettings ( newSettings ) ; return new BatikTestDocumentBuilderFactory ( mergedSettings ) ; }
create new instance of document builder factory reflecting specified settings .
