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
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(DSSDocument document) This method instantiates aEvidenceRecordAnalyzer
with the given documentboolean
isSupported
(DSSDocument document) This method tests if the current implementation ofEvidenceRecordAnalyzer
supports the given document
-
Constructor Details
-
XMLEvidenceRecordAnalyzerFactory
public XMLEvidenceRecordAnalyzerFactory()Default constructor
-
-
Method Details
-
isSupported
Description copied from interface:EvidenceRecordAnalyzerFactory
This method tests if the current implementation ofEvidenceRecordAnalyzer
supports the given document- Specified by:
isSupported
in interfaceDocumentAnalyzerFactory
- Specified by:
isSupported
in interfaceEvidenceRecordAnalyzerFactory
- Parameters:
document
- the document to be tested- Returns:
- true, if the
EvidenceRecordAnalyzer
supports the given document
-
create
Description copied from interface:EvidenceRecordAnalyzerFactory
This method instantiates aEvidenceRecordAnalyzer
with the given document- Specified by:
create
in interfaceDocumentAnalyzerFactory
- Specified by:
create
in interfaceEvidenceRecordAnalyzerFactory
- Parameters:
document
- the document to be used for theEvidenceRecordAnalyzer
creation- Returns:
- an instance of
EvidenceRecordAnalyzer
with the document
-