com.codemonster.surinam.core.formatter
Class ImplementationBlueprintHTMLFormatter
java.lang.Object
com.codemonster.surinam.core.formatter.AbstractImplementationBlueprintFormatter
com.codemonster.surinam.core.formatter.ImplementationBlueprintHTMLFormatter
- All Implemented Interfaces:
- BlueprintFormatter
public class ImplementationBlueprintHTMLFormatter
- extends AbstractImplementationBlueprintFormatter
This is the default Surinam implementation for handling Service Contract Blueprint formatting
in HTML. This formatter renders the blueprints in a set of tables.
ImplementationBlueprintHTMLFormatter
public ImplementationBlueprintHTMLFormatter()
formatHeader
public void formatHeader(StringBuilder stringBuilder)
formatFooter
public void formatFooter(StringBuilder stringBuilder)
formatBlueprint
public void formatBlueprint(Blueprint blueprint,
StringBuilder stringBuilder)
formatAll
public StringBuilder formatAll(Map<String,ImplementationBlueprint> map)
- Description copied from class:
AbstractImplementationBlueprintFormatter
- This is the callback to format all implementation blueprints with a type-safe signature.
- Specified by:
formatAll
in class AbstractImplementationBlueprintFormatter
- Parameters:
map
- The map of blueprints to format.
- Returns:
- Returns a StringBuilder object with the formatted output.
Copyright © 2010. All Rights Reserved.