| Home | Trees | Index | Help |
|---|
_BaseAdapter--+ |TransformAdapter--+ |ContentHandler--+ | TransformAdapter
TransformAdapter,
TransformAdapter,
TransformAdapter| Method Summary | |
|---|---|
__init__(self,
*args,
**params)
| |
as_barcode(self,
name,
extras)
| |
as_text(self,
name,
extras)
| |
characters(self,
text)
| |
close(self)
| |
Signals the end of an element in non-namespace mode. | |
escape(self,
s)
| |
getFieldValue(self,
matchObject)
| |
merge(self,
data,
template,
output)
| |
open(self)
| |
printComment(self,
out,
comment)
| |
Signals the start of an element in non-namespace mode. | |
| Inherited from _BaseAdapter | |
| |
| |
| Inherited from ContentHandler | |
Receive notification of the end of a document. | |
Signals the end of an element in namespace mode. | |
End the scope of a prefix-URI mapping. | |
Receive notification of ignorable whitespace in element content. | |
Receive notification of a processing instruction. | |
Called by the parser to give the application a locator for locating the origin of document events. | |
Receive notification of a skipped entity. | |
Receive notification of the beginning of a document. | |
Signals the start of an element in namespace mode. | |
Begin the scope of a prefix-URI Namespace mapping. | |
| Class Variable Summary | |
|---|---|
str |
COMMENT_BEGIN = '#'
|
str |
COMMENT_END = '\n'
|
str |
FIELD_ENCLOSURE = '::'
|
str |
HEAD_DELIMITER = '^'
|
str |
MIMETYPE = 'text/plain'
|
int |
MULTILINE_COMMENTS = 0 |
str |
NEWLINE = ''
|
str |
NEWPAGE = '\\p'
|
str |
REGEX = '\\A(.*^)(.+)($.*)\\Z'
|
str |
TAIL_DELIMITER = '$'
|
| Method Details |
|---|
__init__(self,
*args,
**params)
|
as_barcode(self, name, extras) |
as_text(self, name, extras) |
characters(self, text) |
close(self) |
endElement(self, name)Signals the end of an element in non-namespace mode. The name parameter contains the name of the element type, just as with the startElement event.
|
escape(self, s) |
getFieldValue(self, matchObject) |
merge(self, data, template, output) |
open(self) |
printComment(self, out, comment) |
startElement(self, name, attrs)Signals the start of an element in non-namespace mode. The name parameter contains the raw XML 1.0 name of the element type as a string and the attrs parameter holds an instance of the Attributes class containing the attributes of the element.
|
| Class Variable Details |
|---|
COMMENT_BEGIN
|
COMMENT_END
|
FIELD_ENCLOSURE
|
HEAD_DELIMITER
|
MIMETYPE
|
MULTILINE_COMMENTS
|
NEWLINE
|
NEWPAGE
|
REGEX
|
TAIL_DELIMITER
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Tue Jan 6 23:04:08 2009 | http://epydoc.sf.net |