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