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

public class PhonexFindNode extends ca.phon.opgraph.nodes.general.MacroNode implements 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
    Modifier and Type
    Field
    Description
    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

    Constructors
    Constructor
    Description
     
    PhonexFindNode(ca.phon.opgraph.OpGraph graph)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getComponent(ca.phon.opgraph.app.GraphDocument arg0)
     
    Get current phonex
     
    void
     
    void
    operate(ca.phon.opgraph.OpContext context)
     
    ca.phon.opgraph.OutputField
    publish(String key, ca.phon.opgraph.OpNode source, ca.phon.opgraph.OutputField field)
     
    void
    setPhonex(String phonex)
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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 class ca.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 interface ca.phon.opgraph.extensions.Publishable
      Overrides:
      publish in class ca.phon.opgraph.nodes.general.MacroNode
    • setPhonex

      public void setPhonex(String phonex) throws PhonexPatternException
      Description copied from interface: PhonexNode
      Set (and compile) phonex expression.
      Specified by:
      setPhonex in interface PhonexNode
      Throws:
      PhonexPatternException - if the given phonex is not valid
    • getPhonex

      public String getPhonex()
      Description copied from interface: PhonexNode
      Get current phonex
      Specified by:
      getPhonex in interface PhonexNode
      Returns:
      phonex
    • getComponent

      public Component getComponent(ca.phon.opgraph.app.GraphDocument arg0)
      Specified by:
      getComponent in interface ca.phon.opgraph.app.extensions.NodeSettings
    • getSettings

      public Properties getSettings()
      Specified by:
      getSettings in interface ca.phon.opgraph.app.extensions.NodeSettings
    • loadSettings

      public void loadSettings(Properties arg0)
      Specified by:
      loadSettings in interface ca.phon.opgraph.app.extensions.NodeSettings