Class Application

Class Application

SYNOPSIS

import xmlapp
class Application
  def __init__(self)
  string __module__ = 'xmlapp'
  def doc_end(self)
  def doc_start(self)
  def handle_comment(self,data)
  def handle_data(self,data,start,end)
  def handle_doctype(self,root,pubID,sysID)
  def handle_end_tag(self,name)
  def handle_ignorable_data(self,data,start,end)
  def handle_pi(self,target,data)
  def handle_start_tag(self,name,attrs)
  def set_entity_info(self,xmlver,enc,sddecl)

DESCRIPTION

This is the class that represents the application that receives parsed data from the parser. It is meant to be subclassed by users.

def doc_end(self)

Notifies the application of the end of the document.

def doc_start(self)

Notifies the application of the start of the document.

def handle_comment(self,data)

Notifies the application of comments.

def handle_data(self,data,start,end)

Notifies the application of character data.

def handle_doctype(self,root,pubID,sysID)

Notifies the application of the document type declaration.

def handle_end_tag(self,name)

Notifies the application of end tags (and empty element tags).

def handle_ignorable_data(self,data,start,end)

Notifies the application of character data that can be ignored.

def handle_pi(self,target,data)

Notifies the application of processing instructions.

def handle_start_tag(self,name,attrs)

Notifies the application of start tags (and empty element tags).

def set_entity_info(self,xmlver,enc,sddecl)

Notifies the application of information about the current entity supplied by an XML declaration.

SEE ALSO

xmlapp


Generated by HTMLFormatter at Sat Mar 21 12:00:18 1998