/** * Protected because you shall use the {@link DOMParser#createNonPoolingParser()} methods. * * @param options the options. */ protected NonPoolingDOMParser(final DOMParserOptions options) { m_documentBuilder = createDocumentBuilder(options); }
/** * Creates a non pooling Parser, with the given options. * * @param options * the options. * @return DOMParser. */ public static DOMParser createNonPoolingParser(final DOMParserOptions options) { return new NonPoolingDOMParser(options != null ? options : DOMParserOptions.getDefault()); }