DeclHandler
interfacein packageorg.xml.sax.ext
public interface DeclHandler:
DeclHandler

SAX2 extension handler for DTD declaration events.

Parsers expose this handler through the http://xml.org/sax/properties/declaration-handler property when supported.

@example `klyn import org.xml.sax.ext

handler as DeclHandler = null if handler is not null: handler.elementDecl("book", "(title,author)")

Methods
Modifier and Type Member Description
public attributeDecl
attributeDecl(elementName as String, attributeName as String, type as String, mode as String, value as String) as Void throws SAXException
Reports an attribute declaration.
public elementDecl
elementDecl(name as String, model as String) as Void throws SAXException
Reports an element type declaration.
public externalEntityDecl
externalEntityDecl(name as String, publicId as String, systemId as String) as Void throws SAXException
Reports an external entity declaration.
public internalEntityDecl
internalEntityDecl(name as String, value as String) as Void throws SAXException
Reports an internal entity declaration.