class documentation
class Output(TransformSpec): (source)
Known subclasses: docutils.io.FileOutput
, docutils.io.NullOutput
, docutils.io.StringOutput
Abstract base class for output wrappers.
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | encode |
Undocumented |
Method | write |
`data` is a Unicode string, to be encoded by `self.encode`. |
Class Variable | component |
Undocumented |
Class Variable | default |
Undocumented |
Instance Variable | destination |
The destination for output data. |
Instance Variable | destination |
A text reference to the destination. |
Instance Variable | encoding |
Text encoding for the output destination. |
Instance Variable | error |
Text encoding error handler. |
Inherited from TransformSpec
:
Method | get |
Transforms required by this class. Override in subclasses. |
Class Variable | default |
Undocumented |
Class Variable | unknown |
List of functions to try to resolve unknown references. Unknown references have a 'refname' attribute which doesn't correspond to any target in the document. Called when the transforms in `docutils.transforms... |
def __init__(self, destination=None, destination_path=None, encoding=None, error_handler='strict'):
(source)
overridden in
docutils.io.FileOutput
Undocumented
default_destination_path =
(source)
overridden in
docutils.io.NullOutput
, docutils.io.StringOutput
Undocumented
destination =
(source)
overridden in
docutils.io.FileOutput
, docutils.io.StringOutput
The destination for output data.
destination_path =
(source)
overridden in
docutils.io.FileOutput
A text reference to the destination.