org.netbeans.modules.bpel.model.impl
Interface ActivityBuilder

All Known Implementing Classes:
AbstractBuilder, AssignBuilder, CompensateBuilder, CompensateScopeBuilder, EmptyBuilder, ExitBuilder, FlowBuilder, ForEachBuilder, IfBuilder, InvokeBuilder, PickBuilder, ReceiveBuilder, RepeatUntilBuilder, ReplyBuilder, RethrowBuilder, ScopeBuilder, SequenceBuilder, ThrowBuilder, ValidateBuilder, WaitBuilder, WhileBuilder

interface ActivityBuilder


Method Summary
 ExtendableActivity build(BpelBuilderImpl builder)
           
 BpelEntity build(BpelModelImpl model, org.w3c.dom.Element element)
          Creates element in mode with specified peer element.
 ActivityDescriptor.ActivityType getType()
           
 boolean isApplicable(ActivityDescriptor.ActivityType type)
           
 

Method Detail

isApplicable

boolean isApplicable(ActivityDescriptor.ActivityType type)
Parameters:
type - Type of activity for which should be built activity.
Returns:
Is this builder is applicable for type in argument.

build

ExtendableActivity build(BpelBuilderImpl builder)
Parameters:
builder - Common elements builder.
Returns:
Instantiated activity.

getType

ActivityDescriptor.ActivityType getType()
Returns:
Type for which this builder is applicable.

build

BpelEntity build(BpelModelImpl model,
                 org.w3c.dom.Element element)
Creates element in mode with specified peer element.

Parameters:
model - OM model.
element - DOM element.
Returns:
Instatiated activity.