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 TypeMethodDescriptioncreate(eu.europa.esig.dss.model.DSSDocument document) This method instantiates aDocumentAnalyzerwith the given documentbooleanisSupported(eu.europa.esig.dss.model.DSSDocument document) This method tests if the current implementation ofDocumentAnalyzersupports the given document
-
Method Details
-
isSupported
boolean isSupported(eu.europa.esig.dss.model.DSSDocument document) This method tests if the current implementation ofDocumentAnalyzersupports the given document- Parameters:
document- the document to be tested- Returns:
- true, if the
DocumentAnalyzersupports the given document
-
create
This method instantiates aDocumentAnalyzerwith the given document- Parameters:
document- the document to be used for theDocumentAnalyzercreation- Returns:
- an instance of
DocumentAnalyzerwith the document
-