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 aDocumentAnalyzer
with the given documentboolean
isSupported
(DSSDocument document) This method tests if the current implementation ofDocumentAnalyzer
supports the given document
-
Method Details
-
isSupported
This method tests if the current implementation ofDocumentAnalyzer
supports the given document- Parameters:
document
- the document to be tested- Returns:
- true, if the
DocumentAnalyzer
supports the given document
-
create
This method instantiates aDocumentAnalyzer
with the given document- Parameters:
document
- the document to be used for theDocumentAnalyzer
creation- Returns:
- an instance of
DocumentAnalyzer
with the document
-