Enum Class InterpretAs

java.lang.Object
java.lang.Enum<InterpretAs>
io.micronaut.aws.alexa.ssml.InterpretAs
All Implemented Interfaces:
Serializable, Comparable<InterpretAs>, Constable

public enum InterpretAs extends Enum<InterpretAs>
Since:
2.0.0
Author:
sdelamo
See Also:
  • Enum Constant Details

    • CHARACTERS

      public static final InterpretAs CHARACTERS
      Spell out each letter.
    • SPELL_OUT

      public static final InterpretAs SPELL_OUT
    • CARDINAL

      public static final InterpretAs CARDINAL
      Interpret the value as a cardinal number.
    • NUMBER

      public static final InterpretAs NUMBER
    • ORDINAL

      public static final InterpretAs ORDINAL
      Interpret the value as an ordinal number.
    • DIGITS

      public static final InterpretAs DIGITS
      Spell each digit separately .
    • FRACTION

      public static final InterpretAs FRACTION
      Interpret the value as a fraction. This works for both common fractions (such as 3/20) and mixed fractions (such as 1+1/2).
    • UNIT

      public static final InterpretAs UNIT
      Interpret a value as a measurement. The value should be either a number or fraction followed by a unit (with no space in between) or just a unit.
    • DATE

      public static final InterpretAs DATE
      Interpret the value as a date. Specify the format with the format attribute.
    • TIME

      public static final InterpretAs TIME
      Interpret a value such as 1'21" as duration in minutes and seconds.
    • TELEPHONE

      public static final InterpretAs TELEPHONE
      Interpret a value as a 7-digit or 10-digit telephone number. This can also handle extensions (for example, 2025551212x345).
    • ADDRESS

      public static final InterpretAs ADDRESS
      Interpret a value as part of street address.
    • INTERJECTION

      public static final InterpretAs INTERJECTION
      Interpret the value as an interjection.
    • EXPLETIVE

      public static final InterpretAs EXPLETIVE
      "Bleep" out the content inside the tag.
  • Method Details

    • values

      public static InterpretAs[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static InterpretAs valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<InterpretAs>