Interface DisplayText
- All Superinterfaces:
Comparable<DisplayText>, DisplayText, OsidPrimitive, OsidPrimitive, Serializable
Text to be displayed.
-
Method Summary
Modifier and TypeMethodDescriptionGets the formatTypeof the text string.Gets the languageType.Gets the scriptType.getText()Gets the text string.Methods inherited from interface DisplayText
compareTo, equals, hashCodeModifier and TypeMethodDescriptionintcompareTo(DisplayText text) Compares this DisplayText with the specifiedDisplayTextto determine the natural order.booleanDetermines if the givenDisplayTextis equal to this one.inthashCode()Returns a hash code value for thisDisplayTextbased on the langauge type, script type, and string.Methods inherited from interface OsidPrimitive
toString
-
Method Details
-
getLanguageType
Type getLanguageType()Gets the languageType.- Returns:
- the language type
- Compliance:
mandatory- This method must be implemented.
-
getScriptType
Type getScriptType()Gets the scriptType.- Returns:
- the script type
- Compliance:
mandatory- This method must be implemented.
-
getFormatType
Type getFormatType()Gets the formatTypeof the text string.- Returns:
- the format type
- Compliance:
mandatory- This method must be implemented.
-
getText
String getText()Gets the text string.- Returns:
- the string
- Compliance:
mandatory- This method must be implemented.
-