Class XMLModelDTDValidatorFactory
java.lang.Object
org.eclipse.lemminx.extensions.dtd.xmlmodel.XMLModelDTDValidatorFactory
- All Implemented Interfaces:
XMLModelValidatorFactory
XMLModelValidatorFactory for DTD.
<?xml-model href="file.dtd" ?>
- 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
-
XMLModelDTDValidatorFactory
public XMLModelDTDValidatorFactory()
-
-
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.
-