DefaultAssertionFormatterController

Represents an AssertionFormatterController which does nothing special in addition but just the job of the controller :)

See also

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun format(assertion: Assertion, parameterObject: AssertionFormatterParameterObject)

Finds a suitable AssertionFormatter -- which was previously registered -- for the given assertion and formats it.

Link copied to clipboard

Checks whether the given assertion is an AssertionGroup and if its type is an ExplanatoryAssertionGroupType.

Link copied to clipboard
open override fun register(assertionFormatter: AssertionFormatter)

Registers the given assertionFormatter, which means it will be considered when an Assertion shall be formatted.