Package org.camunda.bpm.model.xml
Class ModelBuilder
java.lang.Object
org.camunda.bpm.model.xml.ModelBuilder
- Direct Known Subclasses:
ModelBuilderImpl
This builder is used to define and create a new model.
- Author:
- Daniel Meyer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract ModelBuilder
alternativeNamespace
(String alternativeNs, String actualNs) abstract Model
build()
static ModelBuilder
createInstance
(String modelName) abstract ModelElementType
defineGenericType
(String typeName, String typeNamespaceUri) abstract ModelElementTypeBuilder
defineType
(Class<? extends ModelElementInstance> modelInstanceType, String typeName)
-
Constructor Details
-
ModelBuilder
public ModelBuilder()
-
-
Method Details
-
alternativeNamespace
-
defineType
public abstract ModelElementTypeBuilder defineType(Class<? extends ModelElementInstance> modelInstanceType, String typeName) -
defineGenericType
-
build
-
createInstance
-