Code example for DocumentBuilderFactory

Methods: setNamespaceAware

0
      return docBuilder;
    } 
 
    @Override 
    public void setNamespaceAware(boolean awareness) {
      factory.setNamespaceAware(awareness);
    } 
 
    @Override 
    public void setValidating(boolean validating) {
      factory.setValidating(validating);
    } 
 
    @Override 
    public void setIgnoringElementContentWhitespace(boolean whitespace) {
      factory.setIgnoringElementContentWhitespace(whitespace);
    } 
 
    @Override 
    public void setExpandEntityReferences(boolean expandEntityRef) {
      factory.setExpandEntityReferences(expandEntityRef);