Class XMLDocumentAnalyzerFactory
java.lang.Object
eu.europa.esig.dss.xades.validation.XMLDocumentAnalyzerFactory
- All Implemented Interfaces:
DocumentAnalyzerFactory
Loads the relevant class for an XML document validation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(DSSDocument document) This method instantiates aDocumentAnalyzerwith the given documentbooleanisSupported(DSSDocument document) This method tests if the current implementation ofDocumentAnalyzersupports the given document
-
Constructor Details
-
XMLDocumentAnalyzerFactory
public XMLDocumentAnalyzerFactory()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
-
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
-