class_docstr: Interface for reading an XML document using callbacks.
  
  XMLReader is the interface that an XML parser's SAX2 driver must
  implement. This interface allows an application to set and query
  features and properties in the parser, to register event handlers
  for document processing, and to initiate a document parse.
  
  All SAX interfaces are assumed to be synchronous: the parse
  methods must not return until parsing is complete, and readers
  must wait for an event-handler callback to return before reporting
  the next event.
class_docstr_tok: ["Interface","for","reading","an","XML","document","using","callbacks",".","XMLReader","is","the","interface","that","an","XML","parser","'s","SAX2","driver","must","implement",".","This","interface","allows","an","application","to","set","and","query","features","and","properties","in","the","parser",",","to","register","event","handlers","for","document","processing",",","and","to","initiate","a","document","parse",".","All","SAX","interfaces","are","assumed","to","be","synchronous",":","the","parse","methods","must","not","return","until","parsing","is","complete",",","and","readers","must","wait","for","an","event-handler","callback","to","return","before","reporting","the","next","event","."]
docstr: Allow an application to set the locale for errors and warnings.
  
  SAX parsers are not required to provide localization for errors
  and warnings; if they cannot support the requested locale,
  however, they must raise a SAX exception. Applications may
  request a locale change in the middle of a parse.
docstr_tok: ["Allow","an","application","to","set","the","locale","for","errors","and","warnings",".","SAX","parsers","are","not","required","to","provide","localization","for","errors","and","warnings",";","if","they","can","not","support","the","requested","locale",",","however",",","they","must","raise","a","SAX","exception",".","Applications","may","request","a","locale","change","in","the","middle","of","a","parse","."]
code: def setLocale(self, locale):
      """Allow an application to set the locale for errors and warnings.
  
      SAX parsers are not required to provide localization for errors
      and warnings; if they cannot support the requested locale,
      however, they must raise a SAX exception. Applications may
      request a locale change in the middle of a parse."""
      raise SAXNotSupportedException("Locale support not implemented")
  
imports: from .None import handler
  from ._exceptions import SAXNotSupportedException, SAXNotRecognizedException
label_desc: Use image node_id 11 for calling the XMLReader obj's underlying member method code with example usage: obj.setLocale(locale) without return types