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 XSLT xsl: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 the xsl:sort
data-type
attribute is
unsupported, a warning will be issued and the data-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 XSLT xsl:message
instruction
when the terminate attribute evaluates to "yes".
TRACE
- Indicates that the message was generated by a call to
the XPath fn:trace
function.
Enum Constant and Description |
---|
ERROR |
FATAL_ERROR |
INFO |
TRACE |
WARNING |
Modifier and Type | Method and Description |
---|---|
static XMessageHandler.MsgType |
valueOf(java.lang.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.
|
public static final XMessageHandler.MsgType INFO
public static final XMessageHandler.MsgType WARNING
public static final XMessageHandler.MsgType ERROR
public static final XMessageHandler.MsgType FATAL_ERROR
public static final XMessageHandler.MsgType TRACE
public static XMessageHandler.MsgType[] values()
for (XMessageHandler.MsgType c : XMessageHandler.MsgType.values()) System.out.println(c);
public static XMessageHandler.MsgType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null