com.codemonster.surinam.core.formatter
Class ContractBlueprintHTMLFormatter
java.lang.Object
com.codemonster.surinam.core.formatter.AbstractContractBlueprintFormatter
com.codemonster.surinam.core.formatter.ContractBlueprintHTMLFormatter
- All Implemented Interfaces:
- BlueprintFormatter
public class ContractBlueprintHTMLFormatter
- extends AbstractContractBlueprintFormatter
This is the default Surinam implementation for handling Service Contract Blueprint formatting
in HTML. This formatter renders the blueprints in a set of tables.
ContractBlueprintHTMLFormatter
public ContractBlueprintHTMLFormatter()
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,ContractBlueprint> map)
- Description copied from class:
AbstractContractBlueprintFormatter
- This is the callback to format all contract blueprints with a type-safe signature.
- Specified by:
formatAll
in class AbstractContractBlueprintFormatter
- Parameters:
map
- The map of blueprints to format.
- Returns:
- Returns a StringBuilder object with the formatted output.
Copyright © 2010. All Rights Reserved.