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 java.lang.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(java.lang.String alternativeNs, java.lang.String actualNs)
abstract Model
build()
static ModelBuilder
createInstance(java.lang.String modelName)
abstract ModelElementType
defineGenericType(java.lang.String typeName, java.lang.String typeNamespaceUri)
abstract ModelElementTypeBuilder
defineType(java.lang.Class<? extends ModelElementInstance> modelInstanceType, java.lang.String typeName)
-
-
-
Method Detail
-
alternativeNamespace
public abstract ModelBuilder alternativeNamespace(java.lang.String alternativeNs, java.lang.String actualNs)
-
defineType
public abstract ModelElementTypeBuilder defineType(java.lang.Class<? extends ModelElementInstance> modelInstanceType, java.lang.String typeName)
-
defineGenericType
public abstract ModelElementType defineGenericType(java.lang.String typeName, java.lang.String typeNamespaceUri)
-
build
public abstract Model build()
-
createInstance
public static ModelBuilder createInstance(java.lang.String modelName)
-
-