public interface DocumentHandler:
Deprecated SAX1 document event handler.
SAX2 code should implement ContentHandler, which reports Namespace-aware element names.
@example `klyn import org.xml.sax
handler as DocumentHandler = null if handler is not null: handler.startDocument()
| Modifier and Type | Member | Description |
|---|---|---|
| public | characterscharacters(ch as Array<Char>, start as Int, length as Int) as Void throws SAXException |
Receives character data. |
| public | endDocumentendDocument() as Void throws SAXException |
Receives the end of a document. |
| public | endElementendElement(name as String) as Void throws SAXException |
Receives the end of an element. |
| public | ignorableWhitespaceignorableWhitespace(ch as Array<Char>, start as Int, length as Int) as Void throws SAXException |
Receives ignorable whitespace in element content. |
| public | processingInstructionprocessingInstruction(target as String, data as String) as Void throws SAXException |
Receives a processing instruction. |
| public | setDocumentLocatorsetDocumentLocator(locator as Locator) as Void |
Receives the locator used for later document events. |
| public | startDocumentstartDocument() as Void throws SAXException |
Receives the beginning of a document. |
| public | startElementstartElement(name as String, atts as AttributeList) as Void throws SAXException |
Receives the beginning of an element. |