Package ca.phon.ipa
Class Pause
java.lang.Object
ca.phon.ipa.IPAElement
ca.phon.ipa.Pause
- All Implemented Interfaces:
IExtendable
,Visitable<IPAElement>
Represents a pause in an IPA transcription.
-
Field Summary
Fields inherited from class ca.phon.ipa.IPAElement
PHONE_TEXT
-
Method Summary
Modifier and TypeMethodDescriptionprotected FeatureSet
Private method to return the feature set for theIPAElement
.Get the length of the pausegetText()
Get the text for this phonevoid
setLength
(PauseLength len) Set the pause lengthvoid
Set the pause length as a string.Methods inherited from class ca.phon.ipa.IPAElement
accept, addPropertyChangeListener, addPropertyChangeListener, contentEquals, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getExtension, getExtensions, getFeatureSet, getPropertyChangeListeners, getPropertyChangeListeners, getScType, hasListeners, putExtension, removeExtension, removePropertyChangeListener, removePropertyChangeListener, setFeatureSet, setScType, toString
-
Method Details
-
getLength
Get the length of the pause- Returns:
- the pause length
-
setLength
Set the pause length- Parameters:
len
-
-
setLength
Set the pause length as a string.- Parameters:
len
- the text- Throws:
IllegalArgumentException
- if the given string is not a valid length string
-
_getFeatureSet
Description copied from class:IPAElement
Private method to return the feature set for theIPAElement
. This return value for this method can be changed by using theIPAElement.setFeatureSet(FeatureSet)
method.- Specified by:
_getFeatureSet
in classIPAElement
- Returns:
- the phones feature set
-
getText
Description copied from class:IPAElement
Get the text for this phone- Specified by:
getText
in classIPAElement
- Returns:
- the phone string
-