Package eu.europa.esig.dss.validation
Interface DocumentValidatorFactory
- All Known Subinterfaces:
EvidenceRecordValidatorFactory
- All Known Implementing Classes:
ASiCContainerWithCAdESValidatorFactory,ASiCContainerWithXAdESValidatorFactory,ASN1EvidenceRecordValidatorFactory,CMSDocumentValidatorFactory,DetachedTimestampValidatorFactory,JAdESDocumentValidatorFactory,PDFADocumentValidatorFactory,PDFDocumentValidatorFactory,XMLDocumentValidatorFactory,XMLEvidenceRecordValidatorFactory
public interface DocumentValidatorFactory
This interface defines the factory to create a
DocumentValidator for
a given DSSDocument-
Method Summary
Modifier and TypeMethodDescriptioncreate(DSSDocument document) This method instantiates aDocumentValidatorwith the given documentbooleanisSupported(DSSDocument document) This method tests if the current implementation ofDocumentValidatorsupports the given document
-
Method Details
-
isSupported
This method tests if the current implementation ofDocumentValidatorsupports the given document- Parameters:
document- the document to be tested- Returns:
- true, if the
DocumentValidatorsupports the given document
-
create
This method instantiates aDocumentValidatorwith the given document- Parameters:
document- the document to be used for theDocumentValidatorcreation- Returns:
- an instance of
DocumentValidatorwith the document
-