Package ca.phon.opgraph.nodes.phonex
Class PhonexFindNode
java.lang.Object
ca.phon.opgraph.OpNode
ca.phon.opgraph.nodes.general.MacroNode
ca.phon.opgraph.nodes.phonex.PhonexFindNode
- 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.Extendable
,ca.phon.opgraph.extensions.Publishable
,PhonexNode
-
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
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 arg0) Get current phonexvoid
loadSettings
(Properties arg0) void
operate
(ca.phon.opgraph.OpContext context) ca.phon.opgraph.OutputField
void
Set (and compile) phonex expression.Methods inherited from class ca.phon.opgraph.nodes.general.MacroNode
addProcessorListener, getCustomProcessor, getGraph, getGraphURI, getProcessorListeners, getPublishedInput, getPublishedInputs, getPublishedOutput, getPublishedOutputs, isGraphEmbedded, mapInputs, mapOutputs, 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
-
Field Details
-
CURRENT_ITERATION_KEY
- See Also:
-
MAX_ITERATIONS_KEY
- See Also:
-
-
Constructor Details
-
PhonexFindNode
public PhonexFindNode() -
PhonexFindNode
public PhonexFindNode(ca.phon.opgraph.OpGraph graph)
-
-
Method Details
-
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
-
publish
public ca.phon.opgraph.OutputField publish(String key, ca.phon.opgraph.OpNode source, ca.phon.opgraph.OutputField field) - Specified by:
publish
in interfaceca.phon.opgraph.extensions.Publishable
- Overrides:
publish
in classca.phon.opgraph.nodes.general.MacroNode
-
setPhonex
Description copied from interface:PhonexNode
Set (and compile) phonex expression.- Specified by:
setPhonex
in interfacePhonexNode
- Throws:
PhonexPatternException
- if the given phonex is not valid
-
getPhonex
Description copied from interface:PhonexNode
Get current phonex- Specified by:
getPhonex
in interfacePhonexNode
- Returns:
- phonex
-
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
-