com.codemonster.surinam.core.formatter
Class EntryPointBlueprintHTMLFormatter

java.lang.Object
  extended by com.codemonster.surinam.core.formatter.AbstractEntryPointBlueprintFormatter
      extended by com.codemonster.surinam.core.formatter.EntryPointBlueprintHTMLFormatter
All Implemented Interfaces:
BlueprintFormatter

public class EntryPointBlueprintHTMLFormatter
extends AbstractEntryPointBlueprintFormatter

This is the default Surinam implementation for handling Service Contract Blueprint formatting in HTML. This formatter renders the blueprints in a set of tables.


Constructor Summary
EntryPointBlueprintHTMLFormatter()
           
 
Method Summary
 StringBuilder formatAll(Map<String,EntryPointBlueprint> map)
          This is the callback to format all entry point blueprints with a type-safe signature.
 void formatBlueprint(Blueprint blueprint, StringBuilder stringBuilder)
           
 void formatFooter(StringBuilder stringBuilder)
           
 void formatHeader(StringBuilder stringBuilder)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntryPointBlueprintHTMLFormatter

public EntryPointBlueprintHTMLFormatter()
Method Detail

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,EntryPointBlueprint> map)
Description copied from class: AbstractEntryPointBlueprintFormatter
This is the callback to format all entry point blueprints with a type-safe signature.

Specified by:
formatAll in class AbstractEntryPointBlueprintFormatter
Parameters:
map - The map of blueprints to format.
Returns:
Returns a StringBuilder object with the formatted output.


Copyright © 2010. All Rights Reserved.