LexicalHandler
interface in package org.xml.sax.ext

    public interface LexicalHandler:

LexicalHandler

SAX2 extension handler for lexical XML events.

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

Example

    import org.xml.sax.ext

    handler as LexicalHandler = null
    if handler is not null:
    handler.startCDATA()

Methods

Modifier and Type | Member | Description
--- | --- | ---
public | comment `comment(ch as Array<Char>, start as Int, length as Int) as Void throws SAXException` | Reports an XML comment.
public | endCDATA `endCDATA() as Void throws SAXException` | Reports the end of a CDATA section.
public | endDTD `endDTD() as Void throws SAXException` | Reports the end of a DTD declaration.
public | endEntity `endEntity(name as String) as Void throws SAXException` | Reports the end of an entity.
public | startCDATA `startCDATA() as Void throws SAXException` | Reports the start of a CDATA section.
public | startDTD `startDTD(name as String, publicId as String, systemId as String) as Void throws SAXException` | Reports the start of a DTD declaration.
public | startEntity `startEntity(name as String) as Void throws SAXException` | Reports the start of an entity.