• API

    Show / Hide Table of Contents

    Namespace Sax.Ext

    Classes

    Attributes2

    SAX2 extension helper for additional Attributes information, implementing the Attributes2 interface.

    DefaultHandler2

    This class extends the SAX2 base handler class to support the SAX2 ILexicalHandler, IDeclHandler, and IEntityResolver2 extensions. Except for overriding the original SAX1 ResolveEntity(String, String) method the added handler methods just return. Subclassers may override everything on a method-by-method basis.

    Locator2

    SAX2 extension helper for holding additional Entity information, implementing the Locator2 interface.

    Interfaces

    IAttributes2

    SAX2 extension to augment the per-attribute information provided though IAttributes. If an implementation supports this extension, the attributes provided in IContentHandler will implement this interface, and the http://xml.org/sax/features/use-attributes2 feature flag will have the valuetrue.

    This module, both source code and documentation, is in the Public Domain, and comes with NO WARRANTY.

    XMLReader implementations are not required to support this information, and it is not part of core-only SAX2 distributions.

    Note that if an attribute was defaulted (!IsSpecified()) it will of necessity also have been declared(IsDeclared()) in the DTD. Similarly if an attribute's type is anything except CDATA, then it must have been declared.

    IDeclHandler

    SAX2 extension handler for DTD declaration events.

    IEntityResolver2

    Extended interface for mapping external entity references to input sources, or providing a missing external subset. The EntityResolver property is used to provide implementations of this interface to parsers. When a parser uses the methods in this interface, the ResolveEntity(String, String, String, String) method (in this interface) is used instead of the older (SAX 1.0) ResolveEntity(String, String) method.

    ILexicalHandler

    SAX2 extension handler for lexical events.

    ILocator2

    SAX2 extension to augment the entity information provided though a ILocator.

    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)