jBPM Designer - Backend 6.0.3-SNAPSHOT

org.jbpm.designer.bpmn2.impl
Class Bpmn2JsonMarshaller

java.lang.Object
  extended by org.jbpm.designer.bpmn2.impl.Bpmn2JsonMarshaller

public class Bpmn2JsonMarshaller
extends Object


Field Summary
static String defaultBgColor_Activities
           
static String defaultBgColor_CatchingEvents
           
static String defaultBgColor_DataObjects
           
static String defaultBgColor_EndEvents
           
static String defaultBgColor_Events
           
static String defaultBgColor_Gateways
           
static String defaultBgColor_StartEvents
           
static String defaultBgColor_Swimlanes
           
static String defaultBgColor_ThrowingEvents
           
static String defaultBrColor
           
static String defaultBrColor_CatchingEvents
           
static String defaultBrColor_Gateways
           
static String defaultBrColor_ThrowingEvents
           
static String defaultFontColor
           
static String defaultSequenceflowColor
           
 
Constructor Summary
Bpmn2JsonMarshaller()
           
 
Method Summary
protected  org.eclipse.bpmn2.Association findOutgoingAssociation(org.eclipse.bpmn2.di.BPMNPlane plane, org.eclipse.bpmn2.BaseElement baseElement)
           
protected  List<org.eclipse.bpmn2.Association> findOutgoingAssociations(org.eclipse.bpmn2.di.BPMNPlane plane, org.eclipse.bpmn2.BaseElement baseElement)
           
 String marshall(org.eclipse.bpmn2.Definitions def, String preProcessingData)
           
protected  void marshallArtifact(org.eclipse.bpmn2.Artifact artifact, org.eclipse.bpmn2.di.BPMNPlane plane, org.codehaus.jackson.JsonGenerator generator, int xOffset, int yOffset, String preProcessingData, org.eclipse.bpmn2.Definitions def)
           
protected  void marshallAssociation(org.eclipse.bpmn2.Association association, org.eclipse.bpmn2.di.BPMNPlane plane, org.codehaus.jackson.JsonGenerator generator, int xOffset, int yOffset, String preProcessingData, org.eclipse.bpmn2.Definitions def)
           
protected  void marshallBoundaryEvent(org.eclipse.bpmn2.BoundaryEvent boundaryEvent, org.eclipse.bpmn2.di.BPMNPlane plane, org.codehaus.jackson.JsonGenerator generator, int xOffset, int yOffset, Map<String,Object> catchEventProperties)
           
protected  void marshallCallableElement(org.eclipse.bpmn2.CallableElement callableElement, org.eclipse.bpmn2.Definitions def, org.codehaus.jackson.JsonGenerator generator)
          protected void marshallMessage(Message message, Definitions def, JsonGenerator generator) throws JsonGenerationException, IOException { Map properties = new LinkedHashMap(); generator.writeStartObject(); generator.writeObjectField("resourceId", message.getId()); properties.put("name", message.getName()); if(message.getDocumentation() !
protected  void marshallCallActivity(org.eclipse.bpmn2.CallActivity callActivity, org.eclipse.bpmn2.di.BPMNPlane plane, org.codehaus.jackson.JsonGenerator generator, int xOffset, int yOffset, Map<String,Object> flowElementProperties)
           
protected  void marshallChoreography(org.eclipse.bpmn2.Choreography callableElement, org.codehaus.jackson.JsonGenerator generator)
           
protected  void marshallComplexGateway(org.eclipse.bpmn2.ComplexGateway gateway, org.eclipse.bpmn2.di.BPMNPlane plane, org.codehaus.jackson.JsonGenerator generator, int xOffset, int yOffset, Map<String,Object> flowElementProperties)
           
protected  void marshallConversation(org.eclipse.bpmn2.Conversation callableElement, org.codehaus.jackson.JsonGenerator generator)
           
protected  void marshallDataObject(org.eclipse.bpmn2.DataObject dataObject, org.eclipse.bpmn2.di.BPMNPlane plane, org.codehaus.jackson.JsonGenerator generator, int xOffset, int yOffset, Map<String,Object> flowElementProperties)
           
protected  void marshallDefinitions(org.eclipse.bpmn2.Definitions def, org.codehaus.jackson.JsonGenerator generator, String preProcessingData)
           
protected  void marshallEndEvent(org.eclipse.bpmn2.EndEvent endEvent, org.eclipse.bpmn2.di.BPMNPlane plane, org.codehaus.jackson.JsonGenerator generator, int xOffset, int yOffset, Map<String,Object> properties)
           
protected  void marshallEventBasedGateway(org.eclipse.bpmn2.EventBasedGateway gateway, org.eclipse.bpmn2.di.BPMNPlane plane, org.codehaus.jackson.JsonGenerator generator, int xOffset, int yOffset, Map<String,Object> flowElementProperties)
           
protected  void marshallExclusiveGateway(org.eclipse.bpmn2.ExclusiveGateway gateway, org.eclipse.bpmn2.di.BPMNPlane plane, org.codehaus.jackson.JsonGenerator generator, int xOffset, int yOffset, Map<String,Object> flowElementProperties)
           
protected  void marshallFlowElement(org.eclipse.bpmn2.FlowElement flowElement, org.eclipse.bpmn2.di.BPMNPlane plane, org.codehaus.jackson.JsonGenerator generator, int xOffset, int yOffset, String preProcessingData, org.eclipse.bpmn2.Definitions def)
           
protected  void marshallGlobalChoreographyTask(org.eclipse.bpmn2.GlobalChoreographyTask callableElement, org.codehaus.jackson.JsonGenerator generator)
           
protected  void marshallGlobalTask(org.eclipse.bpmn2.GlobalTask globalTask, org.codehaus.jackson.JsonGenerator generator)
           
protected  void marshallGroup(org.eclipse.bpmn2.Group group, org.eclipse.bpmn2.di.BPMNPlane plane, org.codehaus.jackson.JsonGenerator generator, int xOffset, int yOffset, String preProcessingData, org.eclipse.bpmn2.Definitions def)
           
protected  void marshallInclusiveGateway(org.eclipse.bpmn2.InclusiveGateway gateway, org.eclipse.bpmn2.di.BPMNPlane plane, org.codehaus.jackson.JsonGenerator generator, int xOffset, int yOffset, Map<String,Object> flowElementProperties)
           
protected  void marshallIntermediateCatchEvent(org.eclipse.bpmn2.IntermediateCatchEvent catchEvent, org.eclipse.bpmn2.di.BPMNPlane plane, org.codehaus.jackson.JsonGenerator generator, int xOffset, int yOffset, Map<String,Object> properties)
           
protected  void marshallIntermediateThrowEvent(org.eclipse.bpmn2.IntermediateThrowEvent throwEvent, org.eclipse.bpmn2.di.BPMNPlane plane, org.codehaus.jackson.JsonGenerator generator, int xOffset, int yOffset, Map<String,Object> properties)
           
protected  void marshallNode(org.eclipse.bpmn2.FlowNode node, Map<String,Object> properties, String stencil, org.eclipse.bpmn2.di.BPMNPlane plane, org.codehaus.jackson.JsonGenerator generator, int xOffset, int yOffset)
           
protected  void marshallParallelGateway(org.eclipse.bpmn2.ParallelGateway gateway, org.eclipse.bpmn2.di.BPMNPlane plane, org.codehaus.jackson.JsonGenerator generator, int xOffset, int yOffset, Map<String,Object> flowElementProperties)
           
protected  void marshallProcess(org.eclipse.bpmn2.Process process, org.eclipse.bpmn2.Definitions def, org.codehaus.jackson.JsonGenerator generator, String preProcessingData)
           
protected  void marshallProperties(Map<String,Object> properties, org.codehaus.jackson.JsonGenerator generator)
           
protected  void marshallSequenceFlow(org.eclipse.bpmn2.SequenceFlow sequenceFlow, org.eclipse.bpmn2.di.BPMNPlane plane, org.codehaus.jackson.JsonGenerator generator, int xOffset, int yOffset)
           
protected  void marshallStartEvent(org.eclipse.bpmn2.StartEvent startEvent, org.eclipse.bpmn2.di.BPMNPlane plane, org.codehaus.jackson.JsonGenerator generator, int xOffset, int yOffset, Map<String,Object> properties)
           
protected  void marshallStencil(String stencilId, org.codehaus.jackson.JsonGenerator generator)
           
protected  void marshallSubProcess(org.eclipse.bpmn2.SubProcess subProcess, org.eclipse.bpmn2.di.BPMNPlane plane, org.codehaus.jackson.JsonGenerator generator, int xOffset, int yOffset, String preProcessingData, org.eclipse.bpmn2.Definitions def, Map<String,Object> flowElementProperties)
           
protected  void marshallTask(org.eclipse.bpmn2.Task task, org.eclipse.bpmn2.di.BPMNPlane plane, org.codehaus.jackson.JsonGenerator generator, int xOffset, int yOffset, String preProcessingData, org.eclipse.bpmn2.Definitions def, Map<String,Object> flowElementProperties)
           
protected  void marshallTextAnnotation(org.eclipse.bpmn2.TextAnnotation textAnnotation, org.eclipse.bpmn2.di.BPMNPlane plane, org.codehaus.jackson.JsonGenerator generator, int xOffset, int yOffset, String preProcessingData, org.eclipse.bpmn2.Definitions def)
           
 void setProfile(IDiagramProfile profile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultBgColor_Activities

public static final String defaultBgColor_Activities
See Also:
Constant Field Values

defaultBgColor_Events

public static final String defaultBgColor_Events
See Also:
Constant Field Values

defaultBgColor_StartEvents

public static final String defaultBgColor_StartEvents
See Also:
Constant Field Values

defaultBgColor_EndEvents

public static final String defaultBgColor_EndEvents
See Also:
Constant Field Values

defaultBgColor_DataObjects

public static final String defaultBgColor_DataObjects
See Also:
Constant Field Values

defaultBgColor_CatchingEvents

public static final String defaultBgColor_CatchingEvents
See Also:
Constant Field Values

defaultBgColor_ThrowingEvents

public static final String defaultBgColor_ThrowingEvents
See Also:
Constant Field Values

defaultBgColor_Gateways

public static final String defaultBgColor_Gateways
See Also:
Constant Field Values

defaultBgColor_Swimlanes

public static final String defaultBgColor_Swimlanes
See Also:
Constant Field Values

defaultBrColor

public static final String defaultBrColor
See Also:
Constant Field Values

defaultBrColor_CatchingEvents

public static final String defaultBrColor_CatchingEvents
See Also:
Constant Field Values

defaultBrColor_ThrowingEvents

public static final String defaultBrColor_ThrowingEvents
See Also:
Constant Field Values

defaultBrColor_Gateways

public static final String defaultBrColor_Gateways
See Also:
Constant Field Values

defaultFontColor

public static final String defaultFontColor
See Also:
Constant Field Values

defaultSequenceflowColor

public static final String defaultSequenceflowColor
See Also:
Constant Field Values
Constructor Detail

Bpmn2JsonMarshaller

public Bpmn2JsonMarshaller()
Method Detail

setProfile

public void setProfile(IDiagramProfile profile)

marshall

public String marshall(org.eclipse.bpmn2.Definitions def,
                       String preProcessingData)
                throws IOException
Throws:
IOException

marshallDefinitions

protected void marshallDefinitions(org.eclipse.bpmn2.Definitions def,
                                   org.codehaus.jackson.JsonGenerator generator,
                                   String preProcessingData)
                            throws org.codehaus.jackson.JsonGenerationException,
                                   IOException
Throws:
org.codehaus.jackson.JsonGenerationException
IOException

marshallCallableElement

protected void marshallCallableElement(org.eclipse.bpmn2.CallableElement callableElement,
                                       org.eclipse.bpmn2.Definitions def,
                                       org.codehaus.jackson.JsonGenerator generator)
                                throws org.codehaus.jackson.JsonGenerationException,
                                       IOException
protected void marshallMessage(Message message, Definitions def, JsonGenerator generator) throws JsonGenerationException, IOException { Map properties = new LinkedHashMap(); generator.writeStartObject(); generator.writeObjectField("resourceId", message.getId()); properties.put("name", message.getName()); if(message.getDocumentation() != null && message.getDocumentation().size() > 0) { properties.put("documentation", message.getDocumentation().get(0).getText()); } marshallProperties(properties, generator); generator.writeObjectFieldStart("stencil"); generator.writeObjectField("id", "Message"); generator.writeEndObject(); generator.writeArrayFieldStart("childShapes"); generator.writeEndArray(); generator.writeArrayFieldStart("outgoing"); generator.writeEndArray(); generator.writeEndObject(); }

Throws:
org.codehaus.jackson.JsonGenerationException
IOException

marshallProcess

protected void marshallProcess(org.eclipse.bpmn2.Process process,
                               org.eclipse.bpmn2.Definitions def,
                               org.codehaus.jackson.JsonGenerator generator,
                               String preProcessingData)
                        throws org.codehaus.jackson.JsonGenerationException,
                               IOException
Throws:
org.codehaus.jackson.JsonGenerationException
IOException

marshallFlowElement

protected void marshallFlowElement(org.eclipse.bpmn2.FlowElement flowElement,
                                   org.eclipse.bpmn2.di.BPMNPlane plane,
                                   org.codehaus.jackson.JsonGenerator generator,
                                   int xOffset,
                                   int yOffset,
                                   String preProcessingData,
                                   org.eclipse.bpmn2.Definitions def)
                            throws org.codehaus.jackson.JsonGenerationException,
                                   IOException
Throws:
org.codehaus.jackson.JsonGenerationException
IOException

marshallStartEvent

protected void marshallStartEvent(org.eclipse.bpmn2.StartEvent startEvent,
                                  org.eclipse.bpmn2.di.BPMNPlane plane,
                                  org.codehaus.jackson.JsonGenerator generator,
                                  int xOffset,
                                  int yOffset,
                                  Map<String,Object> properties)
                           throws org.codehaus.jackson.JsonGenerationException,
                                  IOException
Throws:
org.codehaus.jackson.JsonGenerationException
IOException

marshallEndEvent

protected void marshallEndEvent(org.eclipse.bpmn2.EndEvent endEvent,
                                org.eclipse.bpmn2.di.BPMNPlane plane,
                                org.codehaus.jackson.JsonGenerator generator,
                                int xOffset,
                                int yOffset,
                                Map<String,Object> properties)
                         throws org.codehaus.jackson.JsonGenerationException,
                                IOException
Throws:
org.codehaus.jackson.JsonGenerationException
IOException

marshallIntermediateCatchEvent

protected void marshallIntermediateCatchEvent(org.eclipse.bpmn2.IntermediateCatchEvent catchEvent,
                                              org.eclipse.bpmn2.di.BPMNPlane plane,
                                              org.codehaus.jackson.JsonGenerator generator,
                                              int xOffset,
                                              int yOffset,
                                              Map<String,Object> properties)
                                       throws org.codehaus.jackson.JsonGenerationException,
                                              IOException
Throws:
org.codehaus.jackson.JsonGenerationException
IOException

marshallBoundaryEvent

protected void marshallBoundaryEvent(org.eclipse.bpmn2.BoundaryEvent boundaryEvent,
                                     org.eclipse.bpmn2.di.BPMNPlane plane,
                                     org.codehaus.jackson.JsonGenerator generator,
                                     int xOffset,
                                     int yOffset,
                                     Map<String,Object> catchEventProperties)
                              throws org.codehaus.jackson.JsonGenerationException,
                                     IOException
Throws:
org.codehaus.jackson.JsonGenerationException
IOException

marshallIntermediateThrowEvent

protected void marshallIntermediateThrowEvent(org.eclipse.bpmn2.IntermediateThrowEvent throwEvent,
                                              org.eclipse.bpmn2.di.BPMNPlane plane,
                                              org.codehaus.jackson.JsonGenerator generator,
                                              int xOffset,
                                              int yOffset,
                                              Map<String,Object> properties)
                                       throws org.codehaus.jackson.JsonGenerationException,
                                              IOException
Throws:
org.codehaus.jackson.JsonGenerationException
IOException

marshallCallActivity

protected void marshallCallActivity(org.eclipse.bpmn2.CallActivity callActivity,
                                    org.eclipse.bpmn2.di.BPMNPlane plane,
                                    org.codehaus.jackson.JsonGenerator generator,
                                    int xOffset,
                                    int yOffset,
                                    Map<String,Object> flowElementProperties)
                             throws org.codehaus.jackson.JsonGenerationException,
                                    IOException
Throws:
org.codehaus.jackson.JsonGenerationException
IOException

marshallTask

protected void marshallTask(org.eclipse.bpmn2.Task task,
                            org.eclipse.bpmn2.di.BPMNPlane plane,
                            org.codehaus.jackson.JsonGenerator generator,
                            int xOffset,
                            int yOffset,
                            String preProcessingData,
                            org.eclipse.bpmn2.Definitions def,
                            Map<String,Object> flowElementProperties)
                     throws org.codehaus.jackson.JsonGenerationException,
                            IOException
Throws:
org.codehaus.jackson.JsonGenerationException
IOException

marshallParallelGateway

protected void marshallParallelGateway(org.eclipse.bpmn2.ParallelGateway gateway,
                                       org.eclipse.bpmn2.di.BPMNPlane plane,
                                       org.codehaus.jackson.JsonGenerator generator,
                                       int xOffset,
                                       int yOffset,
                                       Map<String,Object> flowElementProperties)
                                throws org.codehaus.jackson.JsonGenerationException,
                                       IOException
Throws:
org.codehaus.jackson.JsonGenerationException
IOException

marshallExclusiveGateway

protected void marshallExclusiveGateway(org.eclipse.bpmn2.ExclusiveGateway gateway,
                                        org.eclipse.bpmn2.di.BPMNPlane plane,
                                        org.codehaus.jackson.JsonGenerator generator,
                                        int xOffset,
                                        int yOffset,
                                        Map<String,Object> flowElementProperties)
                                 throws org.codehaus.jackson.JsonGenerationException,
                                        IOException
Throws:
org.codehaus.jackson.JsonGenerationException
IOException

marshallInclusiveGateway

protected void marshallInclusiveGateway(org.eclipse.bpmn2.InclusiveGateway gateway,
                                        org.eclipse.bpmn2.di.BPMNPlane plane,
                                        org.codehaus.jackson.JsonGenerator generator,
                                        int xOffset,
                                        int yOffset,
                                        Map<String,Object> flowElementProperties)
                                 throws org.codehaus.jackson.JsonGenerationException,
                                        IOException
Throws:
org.codehaus.jackson.JsonGenerationException
IOException

marshallEventBasedGateway

protected void marshallEventBasedGateway(org.eclipse.bpmn2.EventBasedGateway gateway,
                                         org.eclipse.bpmn2.di.BPMNPlane plane,
                                         org.codehaus.jackson.JsonGenerator generator,
                                         int xOffset,
                                         int yOffset,
                                         Map<String,Object> flowElementProperties)
                                  throws org.codehaus.jackson.JsonGenerationException,
                                         IOException
Throws:
org.codehaus.jackson.JsonGenerationException
IOException

marshallComplexGateway

protected void marshallComplexGateway(org.eclipse.bpmn2.ComplexGateway gateway,
                                      org.eclipse.bpmn2.di.BPMNPlane plane,
                                      org.codehaus.jackson.JsonGenerator generator,
                                      int xOffset,
                                      int yOffset,
                                      Map<String,Object> flowElementProperties)
                               throws org.codehaus.jackson.JsonGenerationException,
                                      IOException
Throws:
org.codehaus.jackson.JsonGenerationException
IOException

marshallNode

protected void marshallNode(org.eclipse.bpmn2.FlowNode node,
                            Map<String,Object> properties,
                            String stencil,
                            org.eclipse.bpmn2.di.BPMNPlane plane,
                            org.codehaus.jackson.JsonGenerator generator,
                            int xOffset,
                            int yOffset)
                     throws org.codehaus.jackson.JsonGenerationException,
                            IOException
Throws:
org.codehaus.jackson.JsonGenerationException
IOException

marshallDataObject

protected void marshallDataObject(org.eclipse.bpmn2.DataObject dataObject,
                                  org.eclipse.bpmn2.di.BPMNPlane plane,
                                  org.codehaus.jackson.JsonGenerator generator,
                                  int xOffset,
                                  int yOffset,
                                  Map<String,Object> flowElementProperties)
                           throws org.codehaus.jackson.JsonGenerationException,
                                  IOException
Throws:
org.codehaus.jackson.JsonGenerationException
IOException

marshallSubProcess

protected void marshallSubProcess(org.eclipse.bpmn2.SubProcess subProcess,
                                  org.eclipse.bpmn2.di.BPMNPlane plane,
                                  org.codehaus.jackson.JsonGenerator generator,
                                  int xOffset,
                                  int yOffset,
                                  String preProcessingData,
                                  org.eclipse.bpmn2.Definitions def,
                                  Map<String,Object> flowElementProperties)
                           throws org.codehaus.jackson.JsonGenerationException,
                                  IOException
Throws:
org.codehaus.jackson.JsonGenerationException
IOException

marshallSequenceFlow

protected void marshallSequenceFlow(org.eclipse.bpmn2.SequenceFlow sequenceFlow,
                                    org.eclipse.bpmn2.di.BPMNPlane plane,
                                    org.codehaus.jackson.JsonGenerator generator,
                                    int xOffset,
                                    int yOffset)
                             throws org.codehaus.jackson.JsonGenerationException,
                                    IOException
Throws:
org.codehaus.jackson.JsonGenerationException
IOException

marshallGlobalTask

protected void marshallGlobalTask(org.eclipse.bpmn2.GlobalTask globalTask,
                                  org.codehaus.jackson.JsonGenerator generator)

marshallGlobalChoreographyTask

protected void marshallGlobalChoreographyTask(org.eclipse.bpmn2.GlobalChoreographyTask callableElement,
                                              org.codehaus.jackson.JsonGenerator generator)

marshallConversation

protected void marshallConversation(org.eclipse.bpmn2.Conversation callableElement,
                                    org.codehaus.jackson.JsonGenerator generator)

marshallChoreography

protected void marshallChoreography(org.eclipse.bpmn2.Choreography callableElement,
                                    org.codehaus.jackson.JsonGenerator generator)

marshallProperties

protected void marshallProperties(Map<String,Object> properties,
                                  org.codehaus.jackson.JsonGenerator generator)
                           throws org.codehaus.jackson.JsonGenerationException,
                                  IOException
Throws:
org.codehaus.jackson.JsonGenerationException
IOException

marshallArtifact

protected void marshallArtifact(org.eclipse.bpmn2.Artifact artifact,
                                org.eclipse.bpmn2.di.BPMNPlane plane,
                                org.codehaus.jackson.JsonGenerator generator,
                                int xOffset,
                                int yOffset,
                                String preProcessingData,
                                org.eclipse.bpmn2.Definitions def)
                         throws IOException
Throws:
IOException

marshallAssociation

protected void marshallAssociation(org.eclipse.bpmn2.Association association,
                                   org.eclipse.bpmn2.di.BPMNPlane plane,
                                   org.codehaus.jackson.JsonGenerator generator,
                                   int xOffset,
                                   int yOffset,
                                   String preProcessingData,
                                   org.eclipse.bpmn2.Definitions def)
                            throws org.codehaus.jackson.JsonGenerationException,
                                   IOException
Throws:
org.codehaus.jackson.JsonGenerationException
IOException

marshallTextAnnotation

protected void marshallTextAnnotation(org.eclipse.bpmn2.TextAnnotation textAnnotation,
                                      org.eclipse.bpmn2.di.BPMNPlane plane,
                                      org.codehaus.jackson.JsonGenerator generator,
                                      int xOffset,
                                      int yOffset,
                                      String preProcessingData,
                                      org.eclipse.bpmn2.Definitions def)
                               throws org.codehaus.jackson.JsonGenerationException,
                                      IOException
Throws:
org.codehaus.jackson.JsonGenerationException
IOException

marshallGroup

protected void marshallGroup(org.eclipse.bpmn2.Group group,
                             org.eclipse.bpmn2.di.BPMNPlane plane,
                             org.codehaus.jackson.JsonGenerator generator,
                             int xOffset,
                             int yOffset,
                             String preProcessingData,
                             org.eclipse.bpmn2.Definitions def)
                      throws org.codehaus.jackson.JsonGenerationException,
                             IOException
Throws:
org.codehaus.jackson.JsonGenerationException
IOException

findOutgoingAssociation

protected org.eclipse.bpmn2.Association findOutgoingAssociation(org.eclipse.bpmn2.di.BPMNPlane plane,
                                                                org.eclipse.bpmn2.BaseElement baseElement)

findOutgoingAssociations

protected List<org.eclipse.bpmn2.Association> findOutgoingAssociations(org.eclipse.bpmn2.di.BPMNPlane plane,
                                                                       org.eclipse.bpmn2.BaseElement baseElement)

marshallStencil

protected void marshallStencil(String stencilId,
                               org.codehaus.jackson.JsonGenerator generator)
                        throws org.codehaus.jackson.JsonGenerationException,
                               IOException
Throws:
org.codehaus.jackson.JsonGenerationException
IOException

jBPM Designer - Backend 6.0.3-SNAPSHOT

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.