Enum Class MultiSpeakVersion

java.lang.Object
java.lang.Enum<MultiSpeakVersion>
com.ecec.rweber.multispeak.MultiSpeakVersion
All Implemented Interfaces:
Serializable, Comparable<MultiSpeakVersion>, Constable

public enum MultiSpeakVersion extends Enum<MultiSpeakVersion>
This represents information about different version of the MultiSpeak protocol. These must be specified when setting up an MultiSpeakEndpoint to make sure the correct SOAP namespaces are used.
Author:
rweber
  • Enum Constant Details

  • Method Details

    • values

      public static MultiSpeakVersion[] 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 MultiSpeakVersion 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
    • loadVersion

      public static MultiSpeakVersion loadVersion(double version)
      loads the correct MultiSpeakVersion enum object from the given version number
      Parameters:
      version - Multispeak version to load object of
    • getVersion

      public double getVersion()
    • getNamespace

      public Namespace getNamespace()
    • getActionURL

      public String getActionURL(String method)
    • toString

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