class documentation

class FilteredOutput(ContentsOutput): (source)

View In Hierarchy

Returns the output in the contents, but filtered:

Method __init__ Initialize the filters.
Method addfilter Add a new filter: replace the original by the replacement.
Method filter Filter a single line with all available filters.
Method gethtml Return the HTML code
Instance Variable filters Undocumented

Inherited from ContainerOutput (via ContentsOutput):

Method isempty Decide if the output is empty: by default, not empty.
def __init__(self): (source)

Initialize the filters.

def addfilter(self, original, replacement): (source)

Add a new filter: replace the original by the replacement.

def filter(self, line): (source)

Filter a single line with all available filters.

def gethtml(self, container): (source)
filters: list = (source)

Undocumented