DocumentHandler
interface in package org.xml.sax

    public interface DocumentHandler:

DocumentHandler

Deprecated SAX1 document event handler.

SAX2 code should implement `ContentHandler`, which reports Namespace-aware element names.

Example

    import org.xml.sax

    handler as DocumentHandler = null
    if handler is not null:
    handler.startDocument()

Methods

Modifier and Type | Member | Description
--- | --- | ---
public | characters `characters(ch as Array<Char>, start as Int, length as Int) as Void throws SAXException` | Receives character data.
public | endDocument `endDocument() as Void throws SAXException` | Receives the end of a document.
public | endElement `endElement(name as String) as Void throws SAXException` | Receives the end of an element.
public | ignorableWhitespace `ignorableWhitespace(ch as Array<Char>, start as Int, length as Int) as Void throws SAXException` | Receives ignorable whitespace in element content.
public | processingInstruction `processingInstruction(target as String, data as String) as Void throws SAXException` | Receives a processing instruction.
public | setDocumentLocator `setDocumentLocator(locator as Locator) as Void` | Receives the locator used for later document events.
public | startDocument `startDocument() as Void throws SAXException` | Receives the beginning of a document.
public | startElement `startElement(name as String, atts as AttributeList) as Void throws SAXException` | Receives the beginning of an element.