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

public Class XML11NSDTDValidator

extends XML11DTDValidator
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:

Authors
Elena Litani, IBM, Michael Glavassevich, IBM
Version
$Id: XML11NSDTDValidator.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.XML11DTDValidator:
DTD_VALIDATOR_PROPERTY

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.XML11DTDValidator:
initreset

Field Detail

fAttributeQNameback to summary
private final QName fAttributeQName

Attribute QName.

Constructor Detail

XML11NSDTDValidatorback to summary
public XML11NSDTDValidator()

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