Interface DisplayText

All Superinterfaces:
Comparable<DisplayText>, DisplayText, OsidPrimitive, OsidPrimitive, Serializable

public interface DisplayText extends OsidPrimitive, DisplayText

Text to be displayed.

  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the format Type of the text string.
    Gets the language Type .
    Gets the script Type .
    Gets the text string.

    Methods inherited from interface DisplayText

    compareTo, equals, hashCode
    Modifier and Type
    Method
    Description
    int
    Compares this DisplayText with the specified DisplayText to determine the natural order.
    boolean
    Determines if the given DisplayText is equal to this one.
    int
    Returns a hash code value for this DisplayText based on the langauge type, script type, and string.

    Methods inherited from interface OsidPrimitive

    toString
    Modifier and Type
    Method
    Description
    Returns a string representation of this OsidPrimitive.
  • Method Details

    • getLanguageType

      Type getLanguageType()
      Gets the language Type .
      Returns:
      the language type
      Compliance:
      mandatory - This method must be implemented.
    • getScriptType

      Type getScriptType()
      Gets the script Type .
      Returns:
      the script type
      Compliance:
      mandatory - This method must be implemented.
    • getFormatType

      Type getFormatType()
      Gets the format Type of 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.