class documentation

class StringOutput(Output): (source)

View In Hierarchy

Direct string output.

Method write Encode `data`, store it in `self.destination`, and return it.
Class Variable default_destination_path Undocumented
Instance Variable destination The destination for output data.

Inherited from Output:

Method __init__ Undocumented
Method __repr__ Undocumented
Method encode Undocumented
Class Variable component_type Undocumented
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 (via Output):

Method get_transforms Transforms required by this class. Override in subclasses.
Class Variable default_transforms Undocumented
Class Variable unknown_reference_resolvers 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 write(self, data): (source)

Encode `data`, store it in `self.destination`, and return it.

default_destination_path: str = (source)
destination = (source)

The destination for output data.