Class XMLModelSchemaValidatorFactory
java.lang.Object
org.eclipse.lemminx.extensions.xsd.xmlmodel.XMLModelSchemaValidatorFactory
- All Implemented Interfaces:
XMLModelValidatorFactory
XMLModelValidatorFactory for XSD.
<?xml-model href="file.xsd" ?>
- Author:
- Angelo ZERR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateValidator(XMLModelDeclaration modelDeclaration) Create anXMLModelValidatorinstance if the XML model declaration is applicable for the factory and null otherwise.
-
Constructor Details
-
XMLModelSchemaValidatorFactory
public XMLModelSchemaValidatorFactory()
-
-
Method Details
-
createValidator
Description copied from interface:XMLModelValidatorFactoryCreate anXMLModelValidatorinstance if the XML model declaration is applicable for the factory and null otherwise.- Specified by:
createValidatorin interfaceXMLModelValidatorFactory- Parameters:
modelDeclaration- the XML model declaration which host href, type, shematypens.- Returns:
- an
XMLModelValidatorinstance if the XML model declaration is applicable for the factory and null otherwise.
-