/** * Instantiates the document builder with a specific DOM * implementation and XML violation policy. * * @param implementation * the DOM implementation * @param xmlPolicy the policy */ public HtmlDocumentBuilder(DOMImplementation implementation, XmlViolationPolicy xmlPolicy) { this.implementation = implementation; this.treeBuilder = new DOMTreeBuilder(implementation); this.driver = null; setXmlPolicy(xmlPolicy); }
/** * Instantiates the document builder with a specific DOM * implementation and XML violation policy. * * @param implementation * the DOM implementation * @param xmlPolicy the policy */ public HtmlDocumentBuilder(DOMImplementation implementation, XmlViolationPolicy xmlPolicy) { this.implementation = implementation; this.treeBuilder = new DOMTreeBuilder(implementation); this.driver = null; setXmlPolicy(xmlPolicy); }
/** * Instantiates the document builder with a specific DOM * implementation and XML violation policy. * * @param implementation * the DOM implementation * @param xmlPolicy the policy */ public HtmlDocumentBuilder(DOMImplementation implementation, XmlViolationPolicy xmlPolicy) { this.implementation = implementation; this.treeBuilder = new DOMTreeBuilder(implementation); this.driver = null; setXmlPolicy(xmlPolicy); }