Package ca.phon.ipa

Class Pause

All Implemented Interfaces:
IExtendable, Visitable<IPAElement>

public final class Pause extends IPAElement
Represents a pause in an IPA transcription.
  • Method Details

    • getLength

      public PauseLength getLength()
      Get the length of the pause
      Returns:
      the pause length
    • setLength

      public void setLength(PauseLength len)
      Set the pause length
      Parameters:
      len -
    • setLength

      public void setLength(String len)
      Set the pause length as a string.
      Parameters:
      len - the text
      Throws:
      IllegalArgumentException - if the given string is not a valid length string
    • _getFeatureSet

      protected FeatureSet _getFeatureSet()
      Description copied from class: IPAElement
      Private method to return the feature set for the IPAElement. This return value for this method can be changed by using the IPAElement.setFeatureSet(FeatureSet) method.
      Specified by:
      _getFeatureSet in class IPAElement
      Returns:
      the phones feature set
    • getText

      public String getText()
      Description copied from class: IPAElement
      Get the text for this phone
      Specified by:
      getText in class IPAElement
      Returns:
      the phone string