Class DOMDocumentFactoryBean

    • Field Detail

      • resource

        @Nullable
        private Resource resource
        Resource to load the document from.
      • parserPool

        @Nullable
        private ParserPool parserPool
        Parser pool to use when parsing the document.
    • Constructor Detail

      • DOMDocumentFactoryBean

        public DOMDocumentFactoryBean()
    • Method Detail

      • setResource

        public void setResource​(@Nonnull
                                Resource domResource)
        Sets the resource containing the document to be parsed.
        Parameters:
        domResource - resource, never null
      • setParserPool

        public void setParserPool​(@Nonnull
                                  ParserPool pool)
        Sets the parser pool to be used to parse the file.
        Parameters:
        pool - parser pool, never null.