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
-
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
-
Constructor Details
-
DetachedTimestampAnalyzerFactory
public DetachedTimestampAnalyzerFactory()Default constructor
-
-
Method Details
-
isSupported
Description copied from interface:DocumentAnalyzerFactory
This method tests if the current implementation ofDocumentAnalyzer
supports the given document- Specified by:
isSupported
in interfaceDocumentAnalyzerFactory
- Parameters:
document
- the document to be tested- Returns:
- true, if the
DocumentAnalyzer
supports the given document
-
create
Description copied from interface:DocumentAnalyzerFactory
This method instantiates aDocumentAnalyzer
with the given document- Specified by:
create
in interfaceDocumentAnalyzerFactory
- Parameters:
document
- the document to be used for theDocumentAnalyzer
creation- Returns:
- an instance of
DocumentAnalyzer
with the document
-