Package science.aist.gtf.template.impl
Class GeneratorTemplateRendererImpl
- java.lang.Object
-
- science.aist.gtf.transformation.renderer.AbstractConditionalTransformationRenderer<R,GeneratorTemplate,S>
-
- science.aist.gtf.template.impl.renderer.AbstractGeneratorTemplateRenderer<GeneratorTemplate,Void>
-
- science.aist.gtf.template.impl.GeneratorTemplateRendererImpl
-
- All Implemented Interfaces:
GeneratorTemplateRenderer<GeneratorTemplate,Void>
,TransformationRender<Optional<GeneratorTemplate>,GeneratorTemplate,GeneratorTemplate,Void>
public class GeneratorTemplateRendererImpl extends AbstractGeneratorTemplateRenderer<GeneratorTemplate,Void>
Execute a "pipeline" of
GeneratorTemplateRenderer
- Since:
- 1.0
- Author:
- Andreas Pointner, Andreas Schuler
-
-
Constructor Summary
Constructors Constructor Description GeneratorTemplateRendererImpl(List<GeneratorTemplateRenderer<? extends TemplateTaskResult,? super TemplateTask>> childRenderer)
GeneratorTemplateRendererImpl(GeneratorTemplateRenderer<? extends TemplateTaskResult,? super TemplateTask>... childRenderer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<GeneratorTemplate>
renderElement(GeneratorTemplate container, Void none)
Renders a given element-
Methods inherited from class science.aist.gtf.template.impl.renderer.AbstractGeneratorTemplateRenderer
createElement, executeTask, mapProperties
-
-
-
-
Constructor Detail
-
GeneratorTemplateRendererImpl
public GeneratorTemplateRendererImpl(List<GeneratorTemplateRenderer<? extends TemplateTaskResult,? super TemplateTask>> childRenderer)
-
GeneratorTemplateRendererImpl
@SafeVarargs public GeneratorTemplateRendererImpl(GeneratorTemplateRenderer<? extends TemplateTaskResult,? super TemplateTask>... childRenderer)
-
-
Method Detail
-
renderElement
public Optional<GeneratorTemplate> renderElement(GeneratorTemplate container, Void none)
Description copied from interface:TransformationRender
Renders a given element- Specified by:
renderElement
in interfaceTransformationRender<Optional<GeneratorTemplate>,GeneratorTemplate,GeneratorTemplate,Void>
- Overrides:
renderElement
in classAbstractGeneratorTemplateRenderer<GeneratorTemplate,Void>
- Parameters:
container
- the containernone
- the current element- Returns:
- the rendered element
-
-