Class XMLModelRelaxNGValidatorFactory
java.lang.Object
org.eclipse.lemminx.extensions.relaxng.xmlmodel.XMLModelRelaxNGValidatorFactory
- All Implemented Interfaces:
XMLModelValidatorFactory
XMLModelValidatorFactory for RelaxNG XML and compact syntax.
<?xml-model href="file.rng" ?>
<?xml-model href="file.rnc" ?>
- 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
-
XMLModelRelaxNGValidatorFactory
public XMLModelRelaxNGValidatorFactory()
-
-
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.
-