Class AnnotatedOrthographyElement
java.lang.Object
ca.phon.orthography.AbstractOrthographyElement
ca.phon.orthography.AnnotatedOrthographyElement
- All Implemented Interfaces:
IExtendable
,OrthographyElement
- Direct Known Subclasses:
Event
,OrthoGroup
Abstract class for OrthographyElements with attached annotations
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract AnnotatedOrthographyElement
cloneAppendingAnnotation
(OrthographyAnnotation annotation) abstract String
Text for primary element without annotationsprotected String
text()
Get string representation of the element.Methods inherited from class ca.phon.orthography.AbstractOrthographyElement
getExtension, getExtensions, putExtension, removeExtension, toString
-
Constructor Details
-
AnnotatedOrthographyElement
-
-
Method Details
-
getAnnotations
-
getAnnotationText
-
cloneAppendingAnnotation
public abstract AnnotatedOrthographyElement cloneAppendingAnnotation(OrthographyAnnotation annotation) -
elementText
Text for primary element without annotations- Returns:
- text for primary element without annotations, subclasses should implement this method instead of text()
-
text
Description copied from interface:OrthographyElement
Get string representation of the element.- Returns:
- the string value of the element
-