Class SVisualWriterHelper

java.lang.Object
jadex.bpmn.model.io.SVisualWriterHelper

public class SVisualWriterHelper extends Object
  • Constructor Details

    • SVisualWriterHelper

      public SVisualWriterHelper()
  • Method Details

    • beginVisualSection

      public static final void beginVisualSection(PrintStream out)
      Writes the start of the visual section.
      Parameters:
      out - The stream.
    • writeBpmnShape

      public static final void writeBpmnShape(String bpmnid, Rectangle2D bounds, Rectangle2D altbounds, Collection<String> intparams, Boolean expanded, PrintStream out)
      Writes a visual BPMN shape.
      Parameters:
      bpmnid - ID of the BPMN element.
      bounds - Bounds of the shape.
      altbounds - Alternate bounds of the shape.
      intparams - Parameters marked as internal.
      expanded - Flag if shape is expanded (can be null if not applicable)
      out - The stream.
    • writeEdge

      public static final void writeEdge(String bpmnid, boolean dataedge, Collection<Point2D> points, PrintStream out)
      Writes a visual edge.
      Parameters:
      bpmnid - ID of the BPMN edge element.
      dataedge - Flag whether this is a data edge.
      points - Control points, if any.
      out - The stream
    • endVisualSection

      public static final void endVisualSection(PrintStream out)
      Writes the end of the visual section.
      Parameters:
      out - The stream.