klyn.io.xml.sax.DefaultHandler.declaration
method

    public declaration(version as String, encoding as String, standalone as String) as Void throws SAXException:

Description

Receives the XML declaration pseudo-attributes.

Parameters

Parameter | Description
--- | ---
`version` | XML version, or `null`.
`encoding` | Declared encoding, or `null`.
`standalone` | Standalone value, or `null`.

Throws

- SAXException if the SAX handler rejects the event or cannot process the reported XML structure.

Example

    handler.declaration("1.0", "UTF-8", null)