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 ClassesNested classes/interfaces inherited from interface ca.phon.opgraph.extensions.CustomProcessing
ca.phon.opgraph.extensions.CustomProcessing.CustomProcessorNested classes/interfaces inherited from interface ca.phon.opgraph.extensions.Publishable
ca.phon.opgraph.extensions.Publishable.PublishedInput, ca.phon.opgraph.extensions.Publishable.PublishedOutput -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class ca.phon.opgraph.nodes.general.MacroNode
graph, graphURI, isGraphEmbedded, publishedInputs, publishedOutputsFields inherited from class ca.phon.opgraph.OpNode
CATEGORY_PROPERTY, COMPLETED_FIELD, DESCRIPTION_PROPERTY, ENABLED_FIELD, ID_PROPERTY, NAME_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetComponent(ca.phon.opgraph.app.GraphDocument graphDocument) ca.phon.opgraph.extensions.CustomProcessing.CustomProcessorintbooleanhasNext()voidinitialize(ca.phon.opgraph.OpContext context) voidloadSettings(Properties properties) ca.phon.opgraph.OpNodenext()voidoperate(ca.phon.opgraph.OpContext context) voidsetNumTables(int numTables) voidterminate(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, unpublishMethods 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, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
operatein classca.phon.opgraph.nodes.general.MacroNode- Throws:
ca.phon.opgraph.exceptions.ProcessingException
-
hasNext
-
next
-
initialize
public void initialize(ca.phon.opgraph.OpContext context) - Specified by:
initializein interfaceca.phon.opgraph.extensions.CustomProcessing.CustomProcessor
-
terminate
public void terminate(ca.phon.opgraph.OpContext context) - Specified by:
terminatein interfaceca.phon.opgraph.extensions.CustomProcessing.CustomProcessor
-
getCustomProcessor
public ca.phon.opgraph.extensions.CustomProcessing.CustomProcessor getCustomProcessor()- Specified by:
getCustomProcessorin interfaceca.phon.opgraph.extensions.CustomProcessing- Overrides:
getCustomProcessorin classca.phon.opgraph.nodes.general.MacroNode
-
getComponent
- Specified by:
getComponentin interfaceca.phon.opgraph.app.extensions.NodeSettings
-
getSettings
- Specified by:
getSettingsin interfaceca.phon.opgraph.app.extensions.NodeSettings
-
loadSettings
- Specified by:
loadSettingsin interfaceca.phon.opgraph.app.extensions.NodeSettings
-