public interface ProcessorFactory
Processor
instances.ProcessorType
Modifier and Type | Method and Description |
---|---|
CompositeProcessor |
createCompositeProcessor(CompositeProcessorType type,
java.lang.String name)
Creates a
CompositeProcessor of the specified type and adds it to the stream. |
CompositeProcessor |
createCompositeProcessor(CompositeProcessorType type,
java.lang.String name,
ProcessorDiagram diagram)
Creates a
CompositeProcessor of the specified type and adds it to the supplied diagram. |
DataReader |
createDataReader(ProcessorType type,
java.lang.String name)
Creates a
DataReader of the specified type and adds it to the stream. |
DataReader |
createDataReader(ProcessorType type,
java.lang.String name,
ProcessorDiagram diagram)
Creates a
DataReader of the specified type and adds it to the supplied diagram. |
DataTransformer |
createDataTransformer(ProcessorType type,
java.lang.String name)
Creates a
DataTransformer of the specified type
and adds it to the stream. |
DataTransformer |
createDataTransformer(ProcessorType type,
java.lang.String name,
ProcessorDiagram diagram)
Creates a
DataTransformer of the specified type
and adds it to the supplied diagram. |
DataWriter |
createDataWriter(ProcessorType type,
java.lang.String name)
Creates a
DataWriter of the specified type and adds it to the stream. |
DataWriter |
createDataWriter(ProcessorType type,
java.lang.String name,
ProcessorDiagram diagram)
Creates a
DataWriter of the specified type and adds it to the supplied diagram. |
DocumentBuilder |
createDocumentBuilder(ProcessorType type,
java.lang.String name)
Creates an
DocumentBuilder of the specified type and adds it to the stream. |
DocumentBuilder |
createDocumentBuilder(ProcessorType type,
java.lang.String name,
ProcessorDiagram diagram)
Creates an
DocumentBuilder of the specified type and adds it to the supplied diagram. |
Processor |
createExtensionProcessor(java.lang.String extensionId,
java.lang.String extensionNodeId,
java.lang.String name)
Creates a
Processor whose definition is specified
by an extension and adds it to the stream. |
Processor |
createExtensionProcessor(java.lang.String extensionId,
java.lang.String extensionNodeId,
java.lang.String name,
ProcessorDiagram diagram)
Creates a
Processor whose definition is specified
by an extension and adds it to the supplied diagram. |
ModelApplier |
createModelApplier(ModelOutput modelOutput,
java.lang.String name)
Creates a
ModelApplier that can apply the model of the specified type
and adds it to the stream. |
ModelApplier |
createModelApplier(ModelOutput modelOutput,
java.lang.String name,
ProcessorDiagram diagram)
Creates a
ModelApplier that can apply the model of the specified type
and adds it to the supplied diagram. |
ModelApplier |
createModelApplierAt(ModelOutput modelOutput,
java.lang.String name,
ProcessorDiagram diagram,
int x,
int y)
Creates a
ModelApplier at a specified location that can apply the model of the specified type
and adds it to the supplied diagram. |
ModelBuilder |
createModelBuilder(ModelApplier modelApplier,
java.lang.String name)
Creates a
ModelBuilder of the specified type and adds it to the stream. |
ModelBuilder |
createModelBuilder(ModelApplier modelApplier,
java.lang.String name,
ProcessorDiagram diagram)
Creates a
ModelBuilder of the specified type and adds it to the supplied diagram. |
ModelBuilder |
createModelBuilder(ModelOutput modelOutput,
java.lang.String name)
Creates a
ModelBuilder of the specified type and adds it to the stream. |
ModelBuilder |
createModelBuilder(ModelOutput modelOutput,
java.lang.String name,
ProcessorDiagram diagram)
Creates a
ModelBuilder of the specified type and adds it to the supplied diagram. |
ModelBuilder |
createModelBuilder(ProcessorType type,
java.lang.String name)
Creates an
ModelBuilder of the specified type and adds it to the stream. |
ModelBuilder |
createModelBuilder(ProcessorType type,
java.lang.String name,
ProcessorDiagram diagram)
Creates an
ModelBuilder of the specified type and adds it to the supplied diagram. |
Processor |
createProcessor(ProcessorType type,
java.lang.String name)
Creates a
Processor of the specified type and adds it to the stream. |
Processor |
createProcessor(ProcessorType type,
java.lang.String name,
ProcessorDiagram diagram)
Creates a
Processor of the specified type and adds it to the supplied diagram. |
Processor |
createProcessor(java.lang.String nodeTypeName,
java.lang.String name)
Creates a
Processor of the specified type and adds it to the stream. |
Processor |
createProcessor(java.lang.String nodeTypeName,
java.lang.String name,
ProcessorDiagram diagram)
Creates a
Processor of the specified type and adds it to the supplied diagram. |
Processor |
createProcessorAt(java.lang.String nodeTypeName,
java.lang.String name,
ProcessorDiagram diagram,
int x,
int y)
Creates a
Processor of the specified type and adds it to the supplied diagram. |
Processor createProcessor(ProcessorType type, java.lang.String name) throws ObjectCreationException, ObjectLockedException
Processor
of the specified type and adds it to the stream.type
- the ProcessorType
name
- the object's nameProcessor
ObjectCreationException
- if the node cannot be created for some reasonObjectLockedException
- if the node cannot be added to the streamProcessor createProcessor(ProcessorType type, java.lang.String name, ProcessorDiagram diagram) throws ObjectCreationException, ObjectLockedException
Processor
of the specified type and adds it to the supplied diagram.type
- the ProcessorType
name
- the object's nameProcessor
ObjectCreationException
- if the node cannot be created for some reasonObjectLockedException
- if the node cannot be added to the streamProcessor createProcessor(java.lang.String nodeTypeName, java.lang.String name) throws ObjectCreationException, ObjectLockedException
Processor
of the specified type and adds it to the stream.nodeTypeName
- the Processor
type namename
- the object's nameProcessor
ObjectCreationException
- if the node cannot be created for some reasonObjectLockedException
- if the node cannot be added to the streamProcessor createProcessor(java.lang.String nodeTypeName, java.lang.String name, ProcessorDiagram diagram) throws ObjectCreationException, ObjectLockedException
Processor
of the specified type and adds it to the supplied diagram.nodeTypeName
- the Processor
type namename
- the object's nameProcessor
ObjectCreationException
- if the node cannot be created for some reasonObjectLockedException
- if the node cannot be added to the streamProcessor createProcessorAt(java.lang.String nodeTypeName, java.lang.String name, ProcessorDiagram diagram, int x, int y) throws ObjectCreationException, ObjectLockedException
Processor
of the specified type and adds it to the supplied diagram.nodeTypeName
- the Processor
type namename
- the object's namediagram
- the diagram that will contain the new nodex
- the x positiony
- the y positionProcessor
ObjectCreationException
- if the node cannot be created for some reasonObjectLockedException
- if the node cannot be added to the streamProcessor createExtensionProcessor(java.lang.String extensionId, java.lang.String extensionNodeId, java.lang.String name) throws ObjectCreationException, ObjectLockedException
Processor
whose definition is specified
by an extension and adds it to the stream.extensionId
- the extension idextensionNodeId
- the id of the model output declared by the extensionname
- the object's nameProcessor
ObjectCreationException
- if the node cannot be created for some reasonObjectLockedException
- if the node cannot be added to the streamProcessor createExtensionProcessor(java.lang.String extensionId, java.lang.String extensionNodeId, java.lang.String name, ProcessorDiagram diagram) throws ObjectCreationException, ObjectLockedException
Processor
whose definition is specified
by an extension and adds it to the supplied diagram.extensionId
- the extension idextensionNodeId
- the id of the model output declared by the extensionname
- the object's nameProcessor
ObjectCreationException
- if the node cannot be created for some reasonObjectLockedException
- if the node cannot be added to the streamDataReader createDataReader(ProcessorType type, java.lang.String name) throws ObjectCreationException, ObjectLockedException
DataReader
of the specified type and adds it to the stream.type
- the DataReader typename
- the object's nameDataReader
ObjectCreationException
- if the node cannot be created for some reasonjava.lang.ClassCastException
- if the type is not a DataReader
ObjectLockedException
- if the node cannot be added to the streamDataReader createDataReader(ProcessorType type, java.lang.String name, ProcessorDiagram diagram) throws ObjectCreationException, ObjectLockedException
DataReader
of the specified type and adds it to the supplied diagram.type
- the DataReader typename
- the object's nameDataReader
ObjectCreationException
- if the node cannot be created for some reasonjava.lang.ClassCastException
- if the type is not a DataReader
ObjectLockedException
- if the node cannot be added to the streamDataTransformer createDataTransformer(ProcessorType type, java.lang.String name) throws ObjectCreationException, ObjectLockedException
DataTransformer
of the specified type
and adds it to the stream.
The type must be one of the constants defined by ProcessorType
.type
- the DataTransformer typename
- the object's nameDataTransformer
ObjectCreationException
- if the node cannot be created for some reasonjava.lang.ClassCastException
- if the type is not a DataTransformer
ObjectLockedException
- if the node cannot be added to the streamDataTransformer createDataTransformer(ProcessorType type, java.lang.String name, ProcessorDiagram diagram) throws ObjectCreationException, ObjectLockedException
DataTransformer
of the specified type
and adds it to the supplied diagram. The type must be one of the constants
defined by ProcessorType
.type
- the DataTransformer typename
- the object's nameDataTransformer
ObjectCreationException
- if the node cannot be created for some reasonjava.lang.ClassCastException
- if the type is not a DataTransformer
ObjectLockedException
- if the node cannot be added to the streamModelApplier createModelApplier(ModelOutput modelOutput, java.lang.String name) throws ObjectCreationException, ObjectLockedException
ModelApplier
that can apply the model of the specified type
and adds it to the stream.modelOutput
- the ModelOutput object whose ModelDetail should be appliedname
- the object's nameModelApplier
ObjectCreationException
- if the node cannot be created for some reasonObjectLockedException
- if the node cannot be added to the streamjava.lang.IllegalArgumentException
- if the ModelOutput
object cannot
be applied directly to data.ModelApplier createModelApplier(ModelOutput modelOutput, java.lang.String name, ProcessorDiagram diagram) throws ObjectCreationException, ObjectLockedException
ModelApplier
that can apply the model of the specified type
and adds it to the supplied diagram.modelOutput
- the ModelOutput object whose ModelDetail should be appliedname
- the object's nameModelApplier
ObjectCreationException
- if the node cannot be created for some reasonObjectLockedException
- if the node cannot be added to the streamjava.lang.IllegalArgumentException
- if the ModelOutput
object cannot
be applied directly to data.ModelApplier createModelApplierAt(ModelOutput modelOutput, java.lang.String name, ProcessorDiagram diagram, int x, int y) throws ObjectCreationException, ObjectLockedException
ModelApplier
at a specified location that can apply the model of the specified type
and adds it to the supplied diagram.modelOutput
- the ModelOutput object whose ModelDetail should be appliedname
- the object's namediagram
- the diagram that will contain the new nodex
- the x positiony
- the y positionModelApplier
ObjectCreationException
- if the node cannot be created for some reasonObjectLockedException
- if the node cannot be added to the streamjava.lang.IllegalArgumentException
- if the ModelOutput
object cannot
be applied directly to data.DataWriter createDataWriter(ProcessorType type, java.lang.String name) throws ObjectCreationException, ObjectLockedException
DataWriter
of the specified type and adds it to the stream.type
- the DataWriter typename
- the object's nameDataWriter
ObjectCreationException
- if the node cannot be created for some reasonObjectLockedException
- if the node cannot be added to the streamjava.lang.ClassCastException
- if the type is not a DataWriter
DataWriter createDataWriter(ProcessorType type, java.lang.String name, ProcessorDiagram diagram) throws ObjectCreationException, ObjectLockedException
DataWriter
of the specified type and adds it to the supplied diagram.type
- the DataWriter typename
- the object's nameDataWriter
ObjectCreationException
- if the node cannot be created for some reasonObjectLockedException
- if the node cannot be added to the streamjava.lang.ClassCastException
- if the type is not a DataWriter
DocumentBuilder createDocumentBuilder(ProcessorType type, java.lang.String name) throws ObjectCreationException, ObjectLockedException
DocumentBuilder
of the specified type and adds it to the stream.type
- the DocumentBuilder typename
- the object's nameOutputBuilder
ObjectCreationException
- if the node cannot be created for some reasonObjectLockedException
- if the node cannot be added to the streamjava.lang.ClassCastException
- if the type is not an OutputBuilder
DocumentBuilder createDocumentBuilder(ProcessorType type, java.lang.String name, ProcessorDiagram diagram) throws ObjectCreationException, ObjectLockedException
DocumentBuilder
of the specified type and adds it to the supplied diagram.type
- the DocumentBuilder typename
- the object's nameOutputBuilder
ObjectCreationException
- if the node cannot be created for some reasonObjectLockedException
- if the node cannot be added to the streamjava.lang.ClassCastException
- if the type is not an OutputBuilder
ModelBuilder createModelBuilder(ProcessorType type, java.lang.String name) throws ObjectCreationException, ObjectLockedException
ModelBuilder
of the specified type and adds it to the stream.type
- the ModelBuilder typename
- the object's nameModelBuilder
ObjectCreationException
- if the model builder cannot be created for some reasonObjectLockedException
- if the model builder cannot be added to the streamjava.lang.ClassCastException
- if the type is not a ModelBuilder
ModelBuilder createModelBuilder(ProcessorType type, java.lang.String name, ProcessorDiagram diagram) throws ObjectCreationException, ObjectLockedException
ModelBuilder
of the specified type and adds it to the supplied diagram.type
- the ModelBuilder typename
- the object's nameModelBuilder
ObjectCreationException
- if the model builder cannot be created for some reasonObjectLockedException
- if the model builder cannot be added to the diagramjava.lang.ClassCastException
- if the type is not a ModelBuilder
ModelBuilder createModelBuilder(ModelOutput modelOutput, java.lang.String name) throws ObjectCreationException, ObjectLockedException
ModelBuilder
of the specified type and adds it to the stream.modelOutput
- - the output that the builder should be constructed fromname
- the object's nameModelBuilder
ObjectCreationException
- if the model builder cannot be created for some reasonObjectLockedException
- if the model builder cannot be added to the streamModelBuilder createModelBuilder(ModelOutput modelOutput, java.lang.String name, ProcessorDiagram diagram) throws ObjectCreationException, ObjectLockedException
ModelBuilder
of the specified type and adds it to the supplied diagram.modelOutput
- - the output that the builder should be constructed fromname
- the object's nameModelBuilder
ObjectCreationException
- if the model builder cannot be created for some reasonObjectLockedException
- if the model builder cannot be added to the diagramModelBuilder createModelBuilder(ModelApplier modelApplier, java.lang.String name) throws ObjectCreationException, ObjectLockedException
ModelBuilder
of the specified type and adds it to the stream.modelApplier
- - the applier that the builder should be constructed fromname
- the object's nameModelBuilder
ObjectCreationException
- if the model builder cannot be created for some reasonObjectLockedException
- if the model builder cannot be added to the streamModelBuilder createModelBuilder(ModelApplier modelApplier, java.lang.String name, ProcessorDiagram diagram) throws ObjectCreationException, ObjectLockedException
ModelBuilder
of the specified type and adds it to the supplied diagram.modelApplier
- - the applier that the builder should be constructed fromname
- the object's nameModelBuilder
ObjectCreationException
- if the model builder cannot be created for some reasonObjectLockedException
- if the model builder cannot be added to the diagramCompositeProcessor createCompositeProcessor(CompositeProcessorType type, java.lang.String name) throws ObjectCreationException, ObjectLockedException
CompositeProcessor
of the specified type and adds it to the stream.type
- the CompositeProcessorType
name
- the object's nameCompositeProcessor
ObjectCreationException
- if the node cannot be created for some reasonObjectLockedException
- if the node cannot be added to the streamCompositeProcessor createCompositeProcessor(CompositeProcessorType type, java.lang.String name, ProcessorDiagram diagram) throws ObjectCreationException, ObjectLockedException
CompositeProcessor
of the specified type and adds it to the supplied diagram.type
- the CompositeProcessorType
name
- the object's nameCompositeProcessor
ObjectCreationException
- if the node cannot be created for some reasonObjectLockedException
- if the node cannot be added to the diagram(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.