class documentation

class Output(TransformSpec):

Known subclasses: docutils.io.FileOutput, docutils.io.NullOutput, docutils.io.StringOutput

View In Hierarchy

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​_type Undocumented
Class Variable default​_destination​_path Undocumented
Instance Variable destination The destination for output data.
Instance Variable destination​_path A text reference to the destination.
Instance Variable encoding Text encoding for the output destination.
Instance Variable error​_handler Text encoding error handler.

Inherited from TransformSpec:

Method get​_transforms Transforms required by this class. Override in subclasses.
Class Variable default​_transforms Undocumented
Class Variable unknown​_reference​_resolvers No summary
def __init__(self, destination=None, destination_path=None, encoding=None, error_handler='strict'):

Undocumented

def __repr__(self):

Undocumented

def encode(self, data):

Undocumented

def write(self, data):
data is a Unicode string, to be encoded by self.encode.
component_type: str =

Undocumented

default_destination_path =

Undocumented

destination =
The destination for output data.
destination_path =
A text reference to the destination.
encoding =
Text encoding for the output destination.
error_handler =
Text encoding error handler.