Module xyaptu :: Class xcopier
[show private | hide private]
[frames | no frames]

Class xcopier

copier --+
         |
        xcopier


xcopier class, inherits from yaptu.copier
Method Summary
  __init__(self, dns, rExpr, rOpen, rClose, rClause, ouf, dbg, dbgOuf)
set default regular expressions required by yaptu.copier
  setupxcopy(self, inputText)
  xcopy(self, inputText)
Converts the value of the input stream (or contents of input filename) from xyaptu format to yaptu format, and invokes yaptu.copy
  xcopywithdns(self, dns)
  _handleBadExps(self, s, locals, globals)
Handle expressions that do not evaluate
  _preProcess(self, s, why)
Preprocess embedded python statements and expressions
  _preProcessDbg(self, s, why)
Preprocess embedded python statements and expressions
  _x2y_translate(self, xStr)
Converts xyaptu markup in input string to yaptu delimeters
  _xmlDecode(self, s)
Returns the ASCII decoded version of the given HTML string.
    Inherited from copier
  copy(self, block, inf)
Entry point: copy-with-processing a file, or a block of lines
  copyblock(self, i, last)
Main copy method: process lines [i,last) of block

Class Variable Summary
list _xmlCodes = [['"', '&quot;'], ['>', '&gt;'], ['<', '&lt;...

Method Details

__init__(self, dns, rExpr=None, rOpen=None, rClose=None, rClause=None, ouf=<epydoc.imports._DevNull instance at 0x00A01DF0>, dbg=0, dbgOuf=<epydoc.imports._DevNull instance at 0x00A01DF0>)
(Constructor)

set default regular expressions required by yaptu.copier
Overrides:
xyaptu.copier.__init__

xcopy(self, inputText)

Converts the value of the input stream (or contents of input filename) from xyaptu format to yaptu format, and invokes yaptu.copy

_handleBadExps(self, s, locals=None, globals=None)

Handle expressions that do not evaluate

_preProcess(self, s, why)

Preprocess embedded python statements and expressions

_preProcessDbg(self, s, why)

Preprocess embedded python statements and expressions

_x2y_translate(self, xStr)

Converts xyaptu markup in input string to yaptu delimeters

_xmlDecode(self, s)

Returns the ASCII decoded version of the given HTML string.

Class Variable Details

_xmlCodes

Type:
list
Value:
[['"', '&quot;'], ['>', '&gt;'], ['<', '&lt;'], ['&', '&amp;']]        

Generated by Epydoc 2.1 on Fri Aug 15 18:58:34 2008 http://epydoc.sf.net