code: public static XMLBuilder2 create(String name,
          boolean enableExternalEntities, boolean isNamespaceAware)
      {
          return XMLBuilder2.create(
              name, null, enableExternalEntities, isNamespaceAware);
      }
docs: Construct a builder for new XML document. The document will be created
  with the given root element, and the builder returned by this method
  will serve as the starting-point for any further document additions.
  
  @param name
  the name of the document's root element.
  @param enableExternalEntities
  enable external entities; beware of XML External Entity (XXE) injection.
  @param isNamespaceAware
  enable or disable namespace awareness in the underlying
  {@link DocumentBuilderFactory}
  @return
  a builder node that can be used to add more nodes to the XML document.
  @throws XMLBuilderRuntimeException
  to wrap {@link ParserConfigurationException}