Class DetachedTimestampAnalyzerFactory
java.lang.Object
eu.europa.esig.dss.validation.timestamp.DetachedTimestampAnalyzerFactory
- All Implemented Interfaces:
DocumentAnalyzerFactory
This class analyzes conformance of a document to a timestamp format and creates
a corresponding
DetachedTimestampProcessor for its validation-
Constructor Summary
Constructors -
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
-
Constructor Details
-
DetachedTimestampAnalyzerFactory
public DetachedTimestampAnalyzerFactory()Default constructor
-
-
Method Details
-
isSupported
Description copied from interface:DocumentAnalyzerFactoryThis method tests if the current implementation ofDocumentAnalyzersupports the given document- Specified by:
isSupportedin interfaceDocumentAnalyzerFactory- Parameters:
document- the document to be tested- Returns:
- true, if the
DocumentAnalyzersupports the given document
-
create
Description copied from interface:DocumentAnalyzerFactoryThis method instantiates aDocumentAnalyzerwith the given document- Specified by:
createin interfaceDocumentAnalyzerFactory- Parameters:
document- the document to be used for theDocumentAnalyzercreation- Returns:
- an instance of
DocumentAnalyzerwith the document
-