Interface DocumentAnalyzerFactory
- All Known Subinterfaces:
EvidenceRecordAnalyzerFactory
- All Known Implementing Classes:
ASiCContainerWithCAdESAnalyzerFactory,ASiCContainerWithXAdESAnalyzerFactory,ASN1EvidenceRecordAnalyzerFactory,CMSDocumentAnalyzerFactory,DetachedTimestampAnalyzerFactory,JWSDocumentAnalyzerFactory,PDFADocumentAnalyzerFactory,PDFDocumentAnalyzerFactory,XMLDocumentAnalyzerFactory,XMLEvidenceRecordAnalyzerFactory
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(DSSDocument document) This method instantiates aDocumentAnalyzerwith the given documentbooleanisSupported(DSSDocument document) This method tests if the current implementation ofDocumentAnalyzersupports the given document
-
Method Details
-
isSupported
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
-