Class AnnotatedOrthographyElement

java.lang.Object
ca.phon.orthography.AbstractOrthographyElement
ca.phon.orthography.AnnotatedOrthographyElement
All Implemented Interfaces:
IExtendable, OrthographyElement
Direct Known Subclasses:
Event, OrthoGroup

public abstract class AnnotatedOrthographyElement extends AbstractOrthographyElement
Abstract class for OrthographyElements with attached annotations
  • Constructor Details

  • Method Details

    • getAnnotations

      public List<OrthographyAnnotation> getAnnotations()
    • getAnnotationText

      protected String getAnnotationText()
    • cloneAppendingAnnotation

      public abstract AnnotatedOrthographyElement cloneAppendingAnnotation(OrthographyAnnotation annotation)
    • elementText

      public abstract String elementText()
      Text for primary element without annotations
      Returns:
      text for primary element without annotations, subclasses should implement this method instead of text()
    • text

      public String text()
      Description copied from interface: OrthographyElement
      Get string representation of the element.
      Returns:
      the string value of the element