Interface TransformationRender<Result,Element,Container,Input>
-
- Type Parameters:
Container
- type of the container elementInput
- type of the current element to processElement
- type of the interim element that used to map the propertiesResult
- resulting type of the rendering
- All Known Subinterfaces:
GeneratorTemplateRenderer<R,S>
,GraphTransformationRenderer<R,S,E>
- All Known Implementing Classes:
AbstractConditionalTransformationRenderer
,AbstractGeneratorTemplateRenderer
,AbstractGraphTransformationRenderer
,DeleteFileRenderer
,DirectoryCopyRenderer
,DirectoryCreateRenderer
,FileCopyRenderer
,FileOperationRenderer
,GeneratorTemplateRendererImpl
,GraphVizImageRenderer
,InstantiateTemplateRenderer
,MultiGraphTransformationRenderer
,MultiTransformationRenderer
,ShellCommandRenderer
,UnzipRenderer
public interface TransformationRender<Result,Element,Container,Input>
Interface to represent a renderer inside a transformation. A renderer is responsible for processing a single element or a group of elements inside a transformation and is considered as the smallest part inside a complete transformation process.
- Since:
- 1.0
- Author:
- Andreas Schuler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Element
createElement()
Creates a new element same as the one which is renderedElement
mapProperties(Element element, Container container, Input currentElement)
maps propertiesResult
renderElement(Container container, Input currentElement)
Renders a given element
-
-
-
Method Detail
-
renderElement
Result renderElement(Container container, Input currentElement)
Renders a given element- Parameters:
container
- the containercurrentElement
- the current element- Returns:
- the rendered element
-
createElement
Element createElement()
Creates a new element same as the one which is rendered- Returns:
- the new element
-
-