Package ca.phon.orthography
Class OrthoEvent
java.lang.Object
ca.phon.orthography.AbstractOrthoElement
ca.phon.orthography.OrthoEvent
- All Implemented Interfaces:
IExtendable
,OrthoElement
An event written in-line with orthography.
Events can have syntax 'type:data' or just
'data'.
-
Constructor Summary
-
Method Summary
Methods inherited from class ca.phon.orthography.AbstractOrthoElement
getExtension, getExtensions, putExtension, removeExtension
-
Constructor Details
-
OrthoEvent
-
OrthoEvent
-
-
Method Details
-
getType
Get the type of the event. This is the text before the first ':' in the event text.- Returns:
- the type of the event. Default is 'action' if not defined
-
getData
Event data- Returns:
- the data for the event
-
text
Description copied from interface:OrthoElement
Get string representation of the element.- Returns:
- the string value of the element
-
toString
-