org.apache.xerces.impl.dtd
Class XMLNSDTDValidator
java.lang.Object
org.apache.xerces.impl.dtd.XMLDTDValidator
org.apache.xerces.impl.dtd.XMLNSDTDValidator
- All Implemented Interfaces:
- XMLDTDValidatorFilter, RevalidationHandler, XMLComponent, XMLDocumentFilter, XMLDocumentSource, XMLDocumentHandler
public class XMLNSDTDValidator
- extends XMLDTDValidator
The DTD validator. The validator implements a document
filter: receiving document events from the scanner; validating
the content and structure; augmenting the InfoSet, if applicable;
and notifying the parser of the information resulting from the
validation process.
Formerly, this component also handled DTD events and grammar construction.
To facilitate the development of a meaningful DTD grammar caching/preparsing
framework, this functionality has been moved into the XMLDTDLoader
class. Therefore, this class no longer implements the DTDFilter
or DTDContentModelFilter interfaces.
This component requires the following features and properties from the
component manager that uses it:
- http://xml.org/sax/features/namespaces
- http://xml.org/sax/features/validation
- http://apache.org/xml/features/validation/dynamic
- http://apache.org/xml/properties/internal/symbol-table
- http://apache.org/xml/properties/internal/error-reporter
- http://apache.org/xml/properties/internal/grammar-pool
- http://apache.org/xml/properties/internal/datatype-validator-factory
- Version:
- $Id: XMLNSDTDValidator.java 572055 2007-09-02 17:55:43Z mrglavas $
- Author:
- Elena Litani, IBM
Methods inherited from class org.apache.xerces.impl.dtd.XMLDTDValidator |
characterData, characters, comment, doctypeDecl, emptyElement, endCDATA, endDocument, endElement, endGeneralEntity, getDocumentHandler, getDocumentSource, getFeatureDefault, getPropertyDefault, getRecognizedFeatures, getRecognizedProperties, hasGrammar, ignorableWhitespace, processingInstruction, reset, setDocumentHandler, setDocumentSource, setFeature, setProperty, startCDATA, startDocument, startElement, startGeneralEntity, textDecl, validate, xmlDecl |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLNSDTDValidator
public XMLNSDTDValidator()