Class MultiConditionalGraphTransformationRenderer<R,​S,​T,​E>

  • All Implemented Interfaces:
    science.aist.gtf.transformation.renderer.TransformationRender<javax.xml.bind.JAXBElement<? extends R>,​R,​science.aist.gtf.graph.Graph<S,​E>,​science.aist.gtf.graph.Vertex<T,​E>>

    public class MultiConditionalGraphTransformationRenderer<R,​S,​T,​E>
    extends Object
    implements science.aist.gtf.transformation.renderer.TransformationRender<javax.xml.bind.JAXBElement<? extends R>,​R,​science.aist.gtf.graph.Graph<S,​E>,​science.aist.gtf.graph.Vertex<T,​E>>

    MultiRenderer to decide between a list of child renderers

    Author:
    Andreas Pointner
    • Constructor Detail

      • MultiConditionalGraphTransformationRenderer

        public MultiConditionalGraphTransformationRenderer()
    • Method Detail

      • renderElement

        public javax.xml.bind.JAXBElement<? extends R> renderElement​(science.aist.gtf.graph.Graph<S,​E> container,
                                                                     science.aist.gtf.graph.Vertex<T,​E> currentElement)
        Specified by:
        renderElement in interface science.aist.gtf.transformation.renderer.TransformationRender<R,​S,​T,​E>
      • createElement

        public R createElement()
        Specified by:
        createElement in interface science.aist.gtf.transformation.renderer.TransformationRender<R,​S,​T,​E>
      • mapProperties

        public R mapProperties​(R r,
                               science.aist.gtf.graph.Graph<S,​E> vertices,
                               science.aist.gtf.graph.Vertex<T,​E> sVertex)
        Specified by:
        mapProperties in interface science.aist.gtf.transformation.renderer.TransformationRender<R,​S,​T,​E>