Package docutils :: Module io :: Class Input
[show private | hide private]
[frames | no frames]

Class Input

TransformSpec --+
                |
               Input

Known Subclasses:
FileInput, NullInput, StringInput

Abstract base class for input wrappers.
Method Summary
  __init__(self, source, source_path, encoding)
  __repr__(self)
  decode(self, data)
Decode a string, data, heuristically.
  read(self)

Class Variable Summary
str component_type = 'input'
NoneType default_source_path = None                                                                  
    Inherited from TransformSpec
tuple default_transforms = ()

Method Details

decode(self, data)

Decode a string, data, heuristically. Raise UnicodeError if unsuccessful.

The client application should call locale.setlocale at the beginning of processing:

locale.setlocale(locale.LC_ALL, '')

Class Variable Details

component_type

Type:
str
Value:
'input'                                                                

default_source_path

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.0 on Tue Jul 22 05:31:09 2003 http://epydoc.sf.net