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
ParameterDescription
versionXML version, or null.
encodingDeclared encoding, or null.
standaloneStandalone 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)