Class CompoundPhone

All Implemented Interfaces:
IExtendable, CombiningDiacritics, PrefixDiacritics, SuffixDiacritics, Visitable<IPAElement>

public final class CompoundPhone extends Phone
A compound Phone consists of two phones connected by a ligature.
  • Constructor Details

    • CompoundPhone

      public CompoundPhone()
  • Method Details

    • getBase

      public String getBase()
      Get the base for the compound phone
      Overrides:
      getBase in class Phone
      Returns:
      the base of the first phone plus the base of the second phone
    • getFirstPhone

      public Phone getFirstPhone()
      Get the first phone in this compound
      Returns:
      the first phone
    • getSecondPhone

      public Phone getSecondPhone()
      Get second phone
      Returns:
      the second phone
    • _getFeatureSet

      protected FeatureSet _getFeatureSet()
      Description copied from class: IPAElement
      Private method to return the feature set for the IPAElement.
      Overrides:
      _getFeatureSet in class Phone
      Returns:
      the feature set for the implementing type.
    • getText

      public String getText()
      Description copied from class: IPAElement
      Get the text for this phone
      Overrides:
      getText in class Phone
      Returns:
      the phone string
    • getLigature

      public Character getLigature()
      Get the ligature used
      Returns:
      the ligature glyph