Class PhonexMatchNode

java.lang.Object
ca.phon.opgraph.OpNode
ca.phon.opgraph.nodes.phonex.PhonexMatchNode
All Implemented Interfaces:
ca.phon.opgraph.app.extensions.NodeSettings, ca.phon.opgraph.dag.Vertex, ca.phon.opgraph.extensions.Extendable, PhonexNode

public class PhonexMatchNode extends ca.phon.opgraph.OpNode implements PhonexNode
  • Field Summary

    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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getComponent(ca.phon.opgraph.app.GraphDocument arg0)
     
    Get current phonex
     
    void
     
    void
    operate(ca.phon.opgraph.OpContext arg0)
     
    void
    setPhonex(String phonex)
    Set (and compile) phonex expression.

    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, setCanceled, setCategory, setDescription, setId, setName

    Methods inherited from class java.lang.Object

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

    • PhonexMatchNode

      public PhonexMatchNode()
  • Method Details

    • operate

      public void operate(ca.phon.opgraph.OpContext arg0) throws ca.phon.opgraph.exceptions.ProcessingException
      Specified by:
      operate in class ca.phon.opgraph.OpNode
      Throws:
      ca.phon.opgraph.exceptions.ProcessingException
    • setPhonex

      public void setPhonex(String phonex) throws PhonexPatternException
      Set (and compile) phonex expression.
      Specified by:
      setPhonex in interface PhonexNode
      Parameters:
      phonex -
      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