Parser
interface in package org.xml.sax

    public interface Parser:

Parser

Deprecated SAX1 parser interface.

SAX2 code should use `XMLReader`, which supports Namespace processing, features and properties.

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

parser as Parser = null if parser is not null: parser.setErrorHandler(handler)

Methods

Modifier and Type | Member | Description
--- | --- | ---
public | parse `parse(input as InputSource) as Void throws SAXException, IOException` | Parses XML from an input source.
public | parse `parse(systemId as String) as Void throws SAXException, IOException` | Parses XML from a system identifier.
public | setDTDHandler `setDTDHandler(handler as DTDHandler) as Void` | Registers a DTD handler.
public | setDocumentHandler `setDocumentHandler(handler as DocumentHandler) as Void` | Registers a SAX1 document handler.
public | setEntityResolver `setEntityResolver(resolver as EntityResolver) as Void` | Registers an entity resolver.
public | setErrorHandler `setErrorHandler(handler as ErrorHandler) as Void` | Registers an error handler.
public | setLocale `setLocale(locale as Locale) as Void throws SAXException` | Sets the locale for parser diagnostics.