Module jpms_dss_spi

Interface DocumentAnalyzerFactory

All Known Subinterfaces:
EvidenceRecordAnalyzerFactory

public interface DocumentAnalyzerFactory
This interface is used to analyze the format of the given DSSDocument and create a corresponding implementation of DocumentAnalyzer
  • Method Summary

    Modifier and Type
    Method
    Description
    create(eu.europa.esig.dss.model.DSSDocument document)
    This method instantiates a DocumentAnalyzer with the given document
    boolean
    isSupported(eu.europa.esig.dss.model.DSSDocument document)
    This method tests if the current implementation of DocumentAnalyzer supports the given document
  • Method Details

    • isSupported

      boolean isSupported(eu.europa.esig.dss.model.DSSDocument document)
      This method tests if the current implementation of DocumentAnalyzer supports the given document
      Parameters:
      document - the document to be tested
      Returns:
      true, if the DocumentAnalyzer supports the given document
    • create

      DocumentAnalyzer create(eu.europa.esig.dss.model.DSSDocument document)
      This method instantiates a DocumentAnalyzer with the given document
      Parameters:
      document - the document to be used for the DocumentAnalyzer creation
      Returns:
      an instance of DocumentAnalyzer with the document