Class ASiCContainerWithXAdESAnalyzerFactory
java.lang.Object
eu.europa.esig.dss.asic.xades.validation.ASiCContainerWithXAdESAnalyzerFactory
- All Implemented Interfaces:
DocumentAnalyzerFactory
public class ASiCContainerWithXAdESAnalyzerFactory
extends Object
implements DocumentAnalyzerFactory
This class returns a relevant validator for an ASiC with XAdES container validation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(ASiCContent asicContent) Creates aDocumentAnalyzerfor the givenasicContentcreate(DSSDocument document) This method instantiates aDocumentAnalyzerwith the given documentbooleanisSupported(ASiCContent asicContent) Verifies whether the providedASiCContentis supported by the underlying validator's classbooleanisSupported(DSSDocument document) This method tests if the current implementation ofDocumentAnalyzersupports the given document
-
Constructor Details
-
ASiCContainerWithXAdESAnalyzerFactory
public ASiCContainerWithXAdESAnalyzerFactory()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
-
isSupported
Verifies whether the providedASiCContentis supported by the underlying validator's class- Parameters:
asicContent-ASiCContent- Returns:
- TRUE if the ASiC Content is supported, FALSE otherwise
-
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
-
create
Creates aDocumentAnalyzerfor the givenasicContent- Parameters:
asicContent-ASiCContentto be validated- Returns:
DocumentAnalyzer
-