API

com.ibm.xml.xapi
Enum XMessageHandler.MsgType

java.lang.Object
  extended by java.lang.Enum<XMessageHandler.MsgType>
      extended by com.ibm.xml.xapi.XMessageHandler.MsgType
All Implemented Interfaces:
Serializable, Comparable<XMessageHandler.MsgType>
Enclosing interface:
XMessageHandler

public static enum XMessageHandler.MsgType
extends Enum<XMessageHandler.MsgType>

Enumerator of message error levels.


Enum Constant Summary
ERROR
           
FATAL_ERROR
           
INFO
           
TRACE
           
WARNING
           
 
Method Summary
static XMessageHandler.MsgType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static XMessageHandler.MsgType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INFO

public static final XMessageHandler.MsgType INFO

WARNING

public static final XMessageHandler.MsgType WARNING

ERROR

public static final XMessageHandler.MsgType ERROR

FATAL_ERROR

public static final XMessageHandler.MsgType FATAL_ERROR

TRACE

public static final XMessageHandler.MsgType TRACE
Method Detail

values

public static XMessageHandler.MsgType[] 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 (XMessageHandler.MsgType c : XMessageHandler.MsgType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static XMessageHandler.MsgType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

IBM Copyright 2004-2008