com.codemonster.surinam.core.formatter
Class AbstractEntryPointBlueprintFormatter
java.lang.Object
com.codemonster.surinam.core.formatter.AbstractEntryPointBlueprintFormatter
- All Implemented Interfaces:
- BlueprintFormatter
- Direct Known Subclasses:
- EntryPointBlueprintHTMLFormatter
public abstract class AbstractEntryPointBlueprintFormatter
- extends Object
- implements BlueprintFormatter
This is an abstract class that eases the creation of specific subclass families of Entry Point formatters.
This will help make implementing specific formatters a bit easier by providing a core implementation
for handling a blueprint map, handing off formatting calls for each of the blueprints with the
implementation provided by the implementing class. Also, to give individual formatters the ability to
control the header and footer sections of a format, we separate those parts into discrete methods.
AbstractEntryPointBlueprintFormatter
public AbstractEntryPointBlueprintFormatter()
formatAll
public abstract StringBuilder formatAll(Map<String,EntryPointBlueprint> map)
- This is the callback to format all entry point blueprints with a type-safe signature.
- Parameters:
map
- The map of blueprints to format.
- Returns:
- Returns a StringBuilder object with the formatted output.
Copyright © 2010. All Rights Reserved.