Package org.camunda.bpm.model.xml
Class ModelBuilder
- java.lang.Object
-
- org.camunda.bpm.model.xml.ModelBuilder
-
- Direct Known Subclasses:
ModelBuilderImpl
public abstract class ModelBuilder extends Object
This builder is used to define and create a new model.- Author:
- Daniel Meyer
-
-
Constructor Summary
Constructors Constructor Description ModelBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract 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)
-
-
-
Method Detail
-
alternativeNamespace
public abstract ModelBuilder alternativeNamespace(String alternativeNs, String actualNs)
-
defineType
public abstract ModelElementTypeBuilder defineType(Class<? extends ModelElementInstance> modelInstanceType, String typeName)
-
defineGenericType
public abstract ModelElementType defineGenericType(String typeName, String typeNamespaceUri)
-
build
public abstract Model build()
-
createInstance
public static ModelBuilder createInstance(String modelName)
-
-