Package eu.europa.esig.dss.validation
Interface DocumentValidatorFactory
- All Known Implementing Classes:
- ASiCContainerWithCAdESValidatorFactory,- ASiCContainerWithXAdESValidatorFactory,- CMSDocumentValidatorFactory,- DetachedTimestampValidatorFactory,- PDFDocumentValidatorFactory,- XMLDocumentValidatorFactory
public interface DocumentValidatorFactory
This interface defines the factory to create a 
DocumentValidator for
 a given DSSDocument- 
Method SummaryModifier and Type Method Description SignedDocumentValidatorcreate(DSSDocument document)This methods instantiates aDocumentValidatorwith the given documentbooleanisSupported(DSSDocument document)This method tests if the current implementation ofDocumentValidatorsupports the given document
- 
Method Details- 
isSupportedThis 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
 
- 
createThis methods instantiates aDocumentValidatorwith the given document- Parameters:
- document- the document to be used for the- DocumentValidatorcreation
- Returns:
- an instance of DocumentValidatorwith the document
 
 
-