com.ibm.xml.xapi
Enum XMessageHandler.MsgType
- java.lang.Object
java.lang.Enum<XMessageHandler.MsgType>
com.ibm.xml.xapi.XMessageHandler.MsgType
All implemented interfaces:
java.io.Serializable, java.lang.Comparable<XMessageHandler.MsgType>
Enclosing interface:
- public static enum XMessageHandler.MsgType
- extends java.lang.Enum<XMessageHandler.MsgType>
INFO
- Indicates an informational message. These messages are simply informational and will not affect the result. This is also the message type that is used for the XSLTxsl:message
instruction when the terminate attribute evaluates to "no".WARNING
- Indicates a warning message. The processor will recover from a warning situation but the output may not be what was expected. For example if the value of thexsl:sort
data-type
attribute is unsupported, a warning will be issued and thedata-type
attribute will be ignored.ERROR
- Indicates an error message. The processor may recover from the error for the purpose of signalling additional errors but no result will be produced.FATAL_ERROR
- Indicates a fatal error message. The processor cannot recover from these errors and no result is produced. This is also the message type that is used for the XSLTxsl:message
instruction when the terminate attribute evaluates to "yes".TRACE
- Indicates that the message was generated by a call to the XPathfn:trace
function.
Enum Constant Summary
Enum Constant and Description |
---|
ERROR
|
FATAL_ERROR
|
INFO
|
TRACE
|
WARNING
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
|
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:
Returns:
an array containing the constants of this enum type, in
the order they are declared
valueOf
- public static XMessageHandler.MsgType 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 name java.lang.NullPointerException
- if the argument is null