DocumentBuilderFactory Methods

enables applications to obtain a parser that produces DOM object trees from XML documents

  • Specify attributes on the underlying DOM Parser

    get/setAttribute( String name, Object value)
  • Specify whether the underlying DOM Parser is namespace aware.

    is/setNamespaceAware( boolean awareness)
  • Specify whether the underlying DOM Parser uses validation.

    is/setValidating( boolean validating)
  • Specify whether the underlying DOM Parser is XInclude aware.

    is/setXIncludeAware( boolean validating)
  • Specify whether the underlying DOM Parser converts CDATA sections to Text nodes.

    is/setCoalescing( boolean coalescing)
  • Specify whether the underlying DOM Parser expands entity reference nodes.

    is/setExpandEntityReference( boolean expand)
  • Specify whether the underlying DOM Parser ignores comments.

    is/setIgnoringComments( boolean ignore)
  • Specify whether the underlying DOM Parser ignores content whitespace.

    is/setIgnoringElementContentWhitespace( boolean ignore)
  • Creates a new instance of a DocumentBuilder.

    DocumentBuilder newDocumentBuilder()