Package ca.phon.ipa
Class StressMarker
java.lang.Object
ca.phon.ipa.IPAElement
ca.phon.ipa.StressMarker
- All Implemented Interfaces:
IExtendable
,Visitable<IPAElement>
A stress marker. Stress markers can either be
PRIMARY or SECONDARY.
-
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
.getText()
Get the text for this phonegetType()
Get the typevoid
setType
(StressType type) Set the typeMethods 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
-
getType
Get the type- Returns:
- StressType
-
setType
Set the type- Parameters:
type
-
-
_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
-