Class XMLModelDTDValidator
java.lang.Object
org.apache.xerces.impl.dtd.XMLDTDValidator
org.eclipse.lemminx.extensions.xerces.ExternalXMLDTDValidator
org.eclipse.lemminx.extensions.dtd.xmlmodel.XMLModelDTDValidator
- All Implemented Interfaces:
org.apache.xerces.impl.dtd.XMLDTDValidatorFilter,org.apache.xerces.impl.RevalidationHandler,org.apache.xerces.xni.parser.XMLComponent,org.apache.xerces.xni.parser.XMLDocumentFilter,org.apache.xerces.xni.parser.XMLDocumentSource,org.apache.xerces.xni.XMLDocumentHandler,XMLModelValidator
XML model validator which process validation with DTD:
<?xml-model href="http://java.sun.com/dtd/web-app_2_3.dtd"?>
-
Field Summary
Fields inherited from class org.eclipse.lemminx.extensions.xerces.ExternalXMLDTDValidator
DOCTYPEFields inherited from class org.apache.xerces.impl.dtd.XMLDTDValidator
BALANCE_SYNTAX_TREES, DATATYPE_VALIDATOR_FACTORY, DYNAMIC_VALIDATION, ERROR_REPORTER, fBalanceSyntaxTrees, fDatatypeValidatorFactory, fDocLocation, fDocumentHandler, fDocumentSource, fDTDGrammar, fDTDValidation, fDynamicValidation, fErrorReporter, fGrammarBucket, fGrammarPool, fNamespaceContext, fNamespaces, fSeenDoctypeDecl, fSymbolTable, fValENTITIES, fValENTITY, fValID, fValidation, fValidationManager, fValidationState, fValIDRef, fValIDRefs, fValNMTOKEN, fValNMTOKENS, fValNOTATION, fWarnDuplicateAttdef, GRAMMAR_POOL, NAMESPACES, PARSER_SETTINGS, SYMBOL_TABLE, VALIDATION, VALIDATION_MANAGER, WARN_ON_DUPLICATE_ATTDEF -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetExternalDoctype(String externalDoctype) voidsetXMLReader(XMLReader documentHandler) Methods inherited from class org.eclipse.lemminx.extensions.xerces.ExternalXMLDTDValidator
emptyElement, reset, setLocator, startDocument, startElementMethods inherited from class org.apache.xerces.impl.dtd.XMLDTDValidator
addDTDDefaultAttrsAndValidate, characterData, characters, comment, doctypeDecl, endCDATA, endDocument, endElement, endGeneralEntity, endNamespaceScope, getDocumentHandler, getDocumentSource, getExternalEntityRefInAttrValue, getFeatureDefault, getPropertyDefault, getRecognizedFeatures, getRecognizedProperties, handleEndElement, handleStartElement, hasGrammar, ignorableWhitespace, init, invalidStandaloneAttDef, isSpace, processingInstruction, setDocumentHandler, setDocumentSource, setFeature, setProperty, startCDATA, startGeneralEntity, startNamespaceScope, textDecl, validate, validateDTDattribute, xmlDeclMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.xerces.xni.parser.XMLComponent
getFeatureDefault, getPropertyDefault, getRecognizedFeatures, getRecognizedProperties, reset, setFeature, setPropertyMethods inherited from interface org.apache.xerces.xni.XMLDocumentHandler
characters, comment, doctypeDecl, emptyElement, endCDATA, endDocument, endElement, endGeneralEntity, getDocumentSource, ignorableWhitespace, processingInstruction, setDocumentSource, startCDATA, startDocument, startElement, startGeneralEntity, textDecl, xmlDeclMethods inherited from interface org.apache.xerces.xni.parser.XMLDocumentSource
getDocumentHandler, setDocumentHandlerMethods inherited from interface org.eclipse.lemminx.extensions.xerces.xmlmodel.XMLModelValidator
setLocator
-
Constructor Details
-
XMLModelDTDValidator
-
-
Method Details
-
setExternalDoctype
- Overrides:
setExternalDoctypein classExternalXMLDTDValidator
-
setXMLReader
- Specified by:
setXMLReaderin interfaceXMLModelValidator
-