Top Description Fields Constructors Methods
org.apache.xerces.impl.dtd

public Class XMLNSDTDValidator

extends XMLDTDValidator
Class Inheritance
Imports
org.apache.xerces.impl.XMLErrorReporter, org.apache.xerces.impl.msg.XMLMessageFormatter, org.apache.xerces.util.XMLSymbols, org.apache.xerces.xni.Augmentations, .NamespaceContext, .QName, .XMLAttributes, .XNIException

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:

Author
Elena Litani, IBM
Version
$Id: XMLNSDTDValidator.java 572055 2007-09-02 17:55:43Z mrglavas $

Field Summary

Modifier and TypeField and Description
private final QName
fAttributeQName

Attribute QName.

Inherited from org.apache.xerces.impl.dtd.XMLDTDValidator:
BALANCE_SYNTAX_TREESDATATYPE_VALIDATOR_FACTORYDYNAMIC_VALIDATIONERROR_REPORTERfBalanceSyntaxTreesfDatatypeValidatorFactoryfDocLocationfDocumentHandlerfDocumentSourcefDTDGrammarfDTDValidationfDynamicValidationfErrorReporterfGrammarBucketfGrammarPoolfNamespaceContextfNamespacesfSeenDoctypeDeclfSymbolTablefValENTITIESfValENTITYfValIDfValidationfValidationManagerfValidationStatefValIDReffValIDRefsfValNMTOKENfValNMTOKENSfValNOTATIONfWarnDuplicateAttdefGRAMMAR_POOLNAMESPACESPARSER_SETTINGSSYMBOL_TABLEVALIDATIONVALIDATION_MANAGERWARN_ON_DUPLICATE_ATTDEF

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
endNamespaceScope(QName element, Augmentations augs, boolean isEmpty)

Overrides org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope.

Handles end element.
protected final void
Inherited from org.apache.xerces.impl.dtd.XMLDTDValidator:
addDTDDefaultAttrsAndValidatecharacterDatacharacterscommentdoctypeDeclemptyElementendCDATAendDocumentendElementendGeneralEntitygetDocumentHandlergetDocumentSourcegetExternalEntityRefInAttrValuegetFeatureDefaultgetGrammarBucketgetPropertyDefaultgetRecognizedFeaturesgetRecognizedPropertieshandleEndElementhandleStartElementhasGrammarignorableWhitespaceinitinvalidStandaloneAttDefisSpaceprocessingInstructionresetsetDocumentHandlersetDocumentSourcesetFeaturesetPropertystartCDATAstartDocumentstartElementstartGeneralEntitytextDeclvalidatevalidateDTDattributexmlDecl

Field Detail

fAttributeQNameback to summary
private final QName fAttributeQName

Attribute QName.

Constructor Detail

XMLNSDTDValidatorback to summary
public XMLNSDTDValidator()

Method Detail

endNamespaceScopeback to summary
protected void endNamespaceScope(QName element, Augmentations augs, boolean isEmpty) throws XNIException

Overrides org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope.

Handles end element.

startNamespaceScopeback to summary
protected final void startNamespaceScope(QName element, XMLAttributes attributes, Augmentations augs) throws XNIException

Overrides org.apache.xerces.impl.dtd.XMLDTDValidator.startNamespaceScope.

Bind namespaces