Package org.camunda.bpm.model.xml.impl
Class ModelBuilderImpl
- java.lang.Object
-
- org.camunda.bpm.model.xml.ModelBuilder
-
- org.camunda.bpm.model.xml.impl.ModelBuilderImpl
-
public class ModelBuilderImpl extends ModelBuilder
This builder is used to define and create a new model.- Author:
- Daniel Meyer
-
-
Constructor Summary
Constructors Constructor Description ModelBuilderImpl(String modelName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelBuilder
alternativeNamespace(String alternativeNs, String actualNs)
Model
build()
ModelElementType
defineGenericType(String typeName, String typeNamespaceUri)
ModelElementTypeBuilder
defineType(Class<? extends ModelElementInstance> modelInstanceType, String typeName)
-
Methods inherited from class org.camunda.bpm.model.xml.ModelBuilder
createInstance
-
-
-
-
Constructor Detail
-
ModelBuilderImpl
public ModelBuilderImpl(String modelName)
-
-
Method Detail
-
alternativeNamespace
public ModelBuilder alternativeNamespace(String alternativeNs, String actualNs)
- Specified by:
alternativeNamespace
in classModelBuilder
-
defineType
public ModelElementTypeBuilder defineType(Class<? extends ModelElementInstance> modelInstanceType, String typeName)
- Specified by:
defineType
in classModelBuilder
-
defineGenericType
public ModelElementType defineGenericType(String typeName, String typeNamespaceUri)
- Specified by:
defineGenericType
in classModelBuilder
-
build
public Model build()
- Specified by:
build
in classModelBuilder
-
-