import xmlproc
class SAXProcessor(Parser, Application) def __init__(self) string __module__ = 'xmlproc' def doc_end(self) def doc_start(self) def fatal(self,msg) def handle_data(self,data,start,end) def handle_doctype(self,root,pubID,sysID) def handle_end_tag(self,name) def handle_pi(self,target,data) def handle_start_tag(self,name,attrs) def parse(self,pubID,sysID) def warning(self,msg) # Methods inherited by SAXProcessor from Application def handle_comment(self,data) def handle_ignorable_data(self,data,start,end) def resolve_ent_ref(self,entname) def set_entity_info(self,xmlver,enc,sddecl) # Methods inherited by SAXProcessor from Parser def setDocumentHandler(self,handler) def setEntityHandler(self,handler) def setErrorHandler(self,handler)
Notifies the application of comments.
Notifies the application of character data that can be ignored.
Resolves an entity reference and returns its contents. The default method only resolves the predefined entities.
Register an object to receive callbacks related to a document's logical structure.
Register an object to receive callbacks related to a document's entity structure.
Register an object to receive callbacks for errors and warnings.
Notifies the application of information about the current entity supplied by an XML declaration.