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(java.lang.String modelName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelBuilder
alternativeNamespace(java.lang.String alternativeNs, java.lang.String actualNs)
Model
build()
ModelElementType
defineGenericType(java.lang.String typeName, java.lang.String typeNamespaceUri)
ModelElementTypeBuilder
defineType(java.lang.Class<? extends ModelElementInstance> modelInstanceType, java.lang.String typeName)
-
Methods inherited from class org.camunda.bpm.model.xml.ModelBuilder
createInstance
-
-
-
-
Method Detail
-
alternativeNamespace
public ModelBuilder alternativeNamespace(java.lang.String alternativeNs, java.lang.String actualNs)
- Specified by:
alternativeNamespace
in classModelBuilder
-
defineType
public ModelElementTypeBuilder defineType(java.lang.Class<? extends ModelElementInstance> modelInstanceType, java.lang.String typeName)
- Specified by:
defineType
in classModelBuilder
-
defineGenericType
public ModelElementType defineGenericType(java.lang.String typeName, java.lang.String typeNamespaceUri)
- Specified by:
defineGenericType
in classModelBuilder
-
build
public Model build()
- Specified by:
build
in classModelBuilder
-
-