Class XMLDocumentFactory

    • Constructor Detail

      • XMLDocumentFactory

        public XMLDocumentFactory()
      • XMLDocumentFactory

        public XMLDocumentFactory​(Properties properties)
                           throws org.apache.commons.configuration.ConfigurationException
        Throws:
        org.apache.commons.configuration.ConfigurationException
      • XMLDocumentFactory

        public XMLDocumentFactory​(String[] property)
                           throws org.apache.commons.configuration.ConfigurationException
        Throws:
        org.apache.commons.configuration.ConfigurationException
    • Method Detail

      • getParser

        protected org.apache.tika.parser.Parser getParser()
        Description copied from class: AbstractSimpleTikaDocumentFactory
        The parser to be used to parse this kind of documents; subclasses should return always the same instance, as Tika parsers are immutable and thread-safe.
        Specified by:
        getParser in class AbstractSimpleTikaDocumentFactory
        Returns:
        the parser to be used to parse this kind of documents.