Package jadex.bpmn.model.io
Class SVisualWriterHelper
java.lang.Object
jadex.bpmn.model.io.SVisualWriterHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final void
Writes the start of the visual section.static final void
Writes the end of the visual section.static final void
writeBpmnShape
(String bpmnid, Rectangle2D bounds, Rectangle2D altbounds, Collection<String> intparams, Boolean expanded, PrintStream out) Writes a visual BPMN shape.static final void
writeEdge
(String bpmnid, boolean dataedge, Collection<Point2D> points, PrintStream out) Writes a visual edge.
-
Constructor Details
-
SVisualWriterHelper
public SVisualWriterHelper()
-
-
Method Details
-
beginVisualSection
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
Writes the end of the visual section.- Parameters:
out
- The stream.
-