decode(bytes) Accept a base64 bytes object and decode it as the instance’s new data.
XMLReader.setProperty(propertyname, value) Set the propertyname to value. If the property is not recognized, SAXNotRecognizedException is raised. If the property or its setting is not supported by the parser, SAXNotSupportedException is raised.
XMLReader.setDTDHandler(handler) Set the current DTDHandler. If no DTDHandler is set, DTD events will be discarded.
XMLReader.setErrorHandler(handler) Set the current error handler. If no ErrorHandler is set, errors will be raised as exceptions, and warnings will be printed.
XMLReader.setContentHandler(handler) Set the current ContentHandler. If no ContentHandler is set, content events will be discarded.
XMLReader.setLocale(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.
XMLReader.setEntityResolver(handler) Set the current EntityResolver. If no EntityResolver is set, attempts to resolve an external entity will result in opening the system identifier for the entity, and fail if it is not available.
XMLReader.setFeature(featurename, value) Set the featurename to value. If the feature is not recognized, SAXNotRecognizedException is raised. If the feature or its setting is not supported by the parser, SAXNotSupportedException is raised.
XMLReader.getFeature(featurename) Return the current setting for feature featurename. If the feature is not recognized, SAXNotRecognizedException is raised. The well-known featurenames are listed in the module xml.sax.handler.
XMLReader.getEntityResolver() Return the current EntityResolver.
Page 14 of 663