Class XMLEvidenceRecordAnalyzerFactory
java.lang.Object
eu.europa.esig.dss.evidencerecord.xml.validation.XMLEvidenceRecordAnalyzerFactory
- All Implemented Interfaces:
DocumentAnalyzerFactory,EvidenceRecordAnalyzerFactory
public class XMLEvidenceRecordAnalyzerFactory
extends Object
implements EvidenceRecordAnalyzerFactory
Loads the relevant validator for an XML Evidence Record document validation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(DSSDocument document) This method instantiates aEvidenceRecordAnalyzerwith the given documentbooleanisSupported(DSSDocument document) This method tests if the current implementation ofEvidenceRecordAnalyzersupports the given document
-
Constructor Details
-
XMLEvidenceRecordAnalyzerFactory
public XMLEvidenceRecordAnalyzerFactory()Default constructor
-
-
Method Details
-
isSupported
Description copied from interface:EvidenceRecordAnalyzerFactoryThis method tests if the current implementation ofEvidenceRecordAnalyzersupports the given document- Specified by:
isSupportedin interfaceDocumentAnalyzerFactory- Specified by:
isSupportedin interfaceEvidenceRecordAnalyzerFactory- Parameters:
document- the document to be tested- Returns:
- true, if the
EvidenceRecordAnalyzersupports the given document
-
create
Description copied from interface:EvidenceRecordAnalyzerFactoryThis method instantiates aEvidenceRecordAnalyzerwith the given document- Specified by:
createin interfaceDocumentAnalyzerFactory- Specified by:
createin interfaceEvidenceRecordAnalyzerFactory- Parameters:
document- the document to be used for theEvidenceRecordAnalyzercreation- Returns:
- an instance of
EvidenceRecordAnalyzerwith the document
-