org.xml.sax.Parser.setLocale
method
public setLocale(locale as Locale) as Void throws SAXException
Description

Sets the locale for parser diagnostics.

Parameters
  • locale Preferred locale.
Throws
  • SAXException if the locale is unsupported.
Example
parser.setLocale(Locale.default)