Package ca.phon.ipa

Class Diacritic

All Implemented Interfaces:
IExtendable, Visitable<IPAElement>

public class Diacritic extends IPAElement
Diacritics are attached to phones as either prefix, suffix or combining diacritics.
  • Method Details

    • setCharacter

      public void setCharacter(Character ch)
    • getCharacter

      public Character getCharacter()
    • getPrefixDiacritics

      public Diacritic[] getPrefixDiacritics()
    • setPrefixDiacritics

      public void setPrefixDiacritics(Diacritic[] prefixDiacritics)
    • getSuffixDiacritics

      public Diacritic[] getSuffixDiacritics()
    • setSuffixDiacritics

      public void setSuffixDiacritics(Diacritic[] suffixDiacritics)
    • _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
    • getType

      public DiacriticType getType()
    • 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