Package ca.phon.app.opgraph.nodes
Class ForEachParticipant
java.lang.Object
ca.phon.opgraph.OpNode
ca.phon.opgraph.nodes.general.MacroNode
ca.phon.app.opgraph.nodes.ForEachParticipant
- All Implemented Interfaces:
ca.phon.opgraph.app.extensions.NodeSettings
,ca.phon.opgraph.dag.Vertex
,ca.phon.opgraph.extensions.CompositeNode
,ca.phon.opgraph.extensions.CustomProcessing
,ca.phon.opgraph.extensions.CustomProcessing.CustomProcessor
,ca.phon.opgraph.extensions.Extendable
,ca.phon.opgraph.extensions.Publishable
,Iterator<ca.phon.opgraph.OpNode>
public class ForEachParticipant
extends ca.phon.opgraph.nodes.general.MacroNode
implements ca.phon.opgraph.app.extensions.NodeSettings, ca.phon.opgraph.extensions.CustomProcessing, ca.phon.opgraph.extensions.CustomProcessing.CustomProcessor
-
Nested Class Summary
Nested classes/interfaces inherited from interface ca.phon.opgraph.extensions.CustomProcessing
ca.phon.opgraph.extensions.CustomProcessing.CustomProcessor
Nested classes/interfaces inherited from interface ca.phon.opgraph.extensions.Publishable
ca.phon.opgraph.extensions.Publishable.PublishedInput, ca.phon.opgraph.extensions.Publishable.PublishedOutput
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
Fields inherited from class ca.phon.opgraph.nodes.general.MacroNode
graph, graphURI, isGraphEmbedded, publishedInputs, publishedOutputs
Fields inherited from class ca.phon.opgraph.OpNode
CATEGORY_PROPERTY, COMPLETED_FIELD, DESCRIPTION_PROPERTY, ENABLED_FIELD, ID_PROPERTY, NAME_PROPERTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetComponent
(ca.phon.opgraph.app.GraphDocument graphDocument) ca.phon.opgraph.extensions.CustomProcessing.CustomProcessor
int
boolean
hasNext()
void
initialize
(ca.phon.opgraph.OpContext context) void
loadSettings
(Properties properties) ca.phon.opgraph.OpNode
next()
void
operate
(ca.phon.opgraph.OpContext context) void
setNumTables
(int numTables) void
terminate
(ca.phon.opgraph.OpContext context) Methods inherited from class ca.phon.opgraph.nodes.general.MacroNode
addProcessorListener, getGraph, getGraphURI, getProcessorListeners, getPublishedInput, getPublishedInputs, getPublishedOutput, getPublishedOutputs, isGraphEmbedded, mapInputs, mapOutputs, publish, publish, removeProcessorListener, setCanceled, setGraph, setGraphEmbedded, setGraphURI, unpublish, unpublish
Methods inherited from class ca.phon.opgraph.OpNode
addNodeListener, checkCanceled, getCategory, getDefaultCategory, getDefaultDescription, getDefaultName, getDescription, getExtension, getExtensionClasses, getId, getInputFields, getInputFieldWithKey, getName, getOutputFields, getOutputFieldWithKey, isBreakpoint, isCanceled, putExtension, putField, putField, putField, putField, removeAllInputFields, removeAllOutputFields, removeField, removeField, removeNodeListener, setBreakpoint, setCategory, setDescription, setId, setName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Field Details
-
INPUT_TABLE_KEY_PREFIX
- See Also:
-
CURRENT_SPEAKER_KEY
- See Also:
-
SPEAKER_TABLE_KEY_PREFIX
- See Also:
-
TABLE_EXISTS_KEY_PREFIX
- See Also:
-
-
Constructor Details
-
ForEachParticipant
public ForEachParticipant() -
ForEachParticipant
public ForEachParticipant(ca.phon.opgraph.OpGraph graph)
-
-
Method Details
-
getNumTables
public int getNumTables() -
setNumTables
public void setNumTables(int numTables) -
operate
public void operate(ca.phon.opgraph.OpContext context) throws ca.phon.opgraph.exceptions.ProcessingException - Overrides:
operate
in classca.phon.opgraph.nodes.general.MacroNode
- Throws:
ca.phon.opgraph.exceptions.ProcessingException
-
hasNext
public boolean hasNext() -
next
public ca.phon.opgraph.OpNode next() -
initialize
public void initialize(ca.phon.opgraph.OpContext context) - Specified by:
initialize
in interfaceca.phon.opgraph.extensions.CustomProcessing.CustomProcessor
-
terminate
public void terminate(ca.phon.opgraph.OpContext context) - Specified by:
terminate
in interfaceca.phon.opgraph.extensions.CustomProcessing.CustomProcessor
-
getCustomProcessor
public ca.phon.opgraph.extensions.CustomProcessing.CustomProcessor getCustomProcessor()- Specified by:
getCustomProcessor
in interfaceca.phon.opgraph.extensions.CustomProcessing
- Overrides:
getCustomProcessor
in classca.phon.opgraph.nodes.general.MacroNode
-
getComponent
- Specified by:
getComponent
in interfaceca.phon.opgraph.app.extensions.NodeSettings
-
getSettings
- Specified by:
getSettings
in interfaceca.phon.opgraph.app.extensions.NodeSettings
-
loadSettings
- Specified by:
loadSettings
in interfaceca.phon.opgraph.app.extensions.NodeSettings
-