Package com.adaptris.core.jms.sonic
Enum SonicHelper.MessageType
- java.lang.Object
-
- java.lang.Enum<SonicHelper.MessageType>
-
- com.adaptris.core.jms.sonic.SonicHelper.MessageType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SonicHelper.MessageType>
- Enclosing class:
- SonicHelper
public static enum SonicHelper.MessageType extends java.lang.Enum<SonicHelper.MessageType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BytesMessage
MapMessage
MultipartMessage
ObjectMessage
TextMessage
XmlMessage
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SonicHelper.MessageType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SonicHelper.MessageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BytesMessage
public static final SonicHelper.MessageType BytesMessage
-
MapMessage
public static final SonicHelper.MessageType MapMessage
-
ObjectMessage
public static final SonicHelper.MessageType ObjectMessage
-
MultipartMessage
public static final SonicHelper.MessageType MultipartMessage
-
XmlMessage
public static final SonicHelper.MessageType XmlMessage
-
TextMessage
public static final SonicHelper.MessageType TextMessage
-
-
Method Detail
-
values
public static SonicHelper.MessageType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SonicHelper.MessageType c : SonicHelper.MessageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SonicHelper.MessageType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-