Class XMLDocumentValidatorFactory
java.lang.Object
eu.europa.esig.dss.xades.validation.XMLDocumentValidatorFactory
- All Implemented Interfaces:
DocumentValidatorFactory
Loads the relevant validator for an XML document validation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(DSSDocument document) This method instantiates aDocumentValidatorwith the given documentbooleanisSupported(DSSDocument document) This method tests if the current implementation ofDocumentValidatorsupports the given document
-
Constructor Details
-
XMLDocumentValidatorFactory
public XMLDocumentValidatorFactory()Default constructor
-
-
Method Details
-
isSupported
Description copied from interface:DocumentValidatorFactoryThis method tests if the current implementation ofDocumentValidatorsupports the given document- Specified by:
isSupportedin interfaceDocumentValidatorFactory- Parameters:
document- the document to be tested- Returns:
- true, if the
DocumentValidatorsupports the given document
-
create
Description copied from interface:DocumentValidatorFactoryThis method instantiates aDocumentValidatorwith the given document- Specified by:
createin interfaceDocumentValidatorFactory- Parameters:
document- the document to be used for theDocumentValidatorcreation- Returns:
- an instance of
DocumentValidatorwith the document
-