Package classycle.renderer
Class TemplateBasedStrongComponentRenderer
java.lang.Object
classycle.renderer.AbstractStrongComponentRenderer
classycle.renderer.TemplateBasedStrongComponentRenderer
- All Implemented Interfaces:
StrongComponentRenderer
Renderer of a
StrongComponent. The renderer is based on a
java.text.MessageFormat template.- Author:
- Franz-Josef Elmer
-
Constructor Summary
ConstructorsConstructorDescriptionTemplateBasedStrongComponentRenderer(String template, int minimumNumber) Creates an instance for the specified template. -
Method Summary
Modifier and TypeMethodDescriptionrender(StrongComponent component) Renderes the specifiedStrongComponent.Methods inherited from class classycle.renderer.AbstractStrongComponentRenderer
createName
-
Constructor Details
-
TemplateBasedStrongComponentRenderer
Creates an instance for the specified template.- Parameters:
template- The template.minimumNumber- Minimum number of vertices theStrongComponentshould have to be rendered.
-
-
Method Details
-
render
Description copied from interface:StrongComponentRendererRenderes the specifiedStrongComponent.
-