Package EaseXML :: Module PrettyXMLPrinter :: Class PrettyXMLPrinter
[show private | hide private]
[frames | no frames]

Class PrettyXMLPrinter


Method Summary
  __init__(self)
  handle_begin_tag(self, stringToProcess, reGroups)
Begin Tag
  handle_cdata(self, stringToProcess, reGroups)
CDATA section
  handle_comment(self, stringToProcess, reGroups)
Comment
  handle_content(self, stringToProcess, reGroups)
Element's content
  handle_end_tag(self, stringToProcess, reGroups)
Closing Tag
  handle_processing_instruction(self, stringToProcess, reGroups)
Processing Instruction
  prettyPrint(self, stringToProcess, indent)

Class Variable Summary
list regexps = [('processing_instruction', <_sre.SRE_Pattern ...

Method Details

handle_begin_tag(self, stringToProcess, reGroups)

Begin Tag

handle_cdata(self, stringToProcess, reGroups)

CDATA section

handle_comment(self, stringToProcess, reGroups)

Comment

handle_content(self, stringToProcess, reGroups)

Element's content

handle_end_tag(self, stringToProcess, reGroups)

Closing Tag

handle_processing_instruction(self, stringToProcess, reGroups)

Processing Instruction

Class Variable Details

regexps

Type:
list
Value:
[('processing_instruction', <_sre.SRE_Pattern object at 0xb7e4f560>),
 ('cdata', <_sre.SRE_Pattern object at 0x81fdce0>),
 ('comment', <_sre.SRE_Pattern object at 0xb7e52320>),
 ('begin_tag', <_sre.SRE_Pattern object at 0x81f10e0>),
 ('end_tag', <_sre.SRE_Pattern object at 0xb7ecf728>),
 ('content', <_sre.SRE_Pattern object at 0xb7e57340>)]                 

Generated by Epydoc 2.1 on Sun Dec 12 17:20:24 2004 http://epydoc.sf.net