com.ibm.xml.xapi

Enum XMessageHandler.MsgType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<XMessageHandler.MsgType>
    Enclosing interface:
    XMessageHandler


    public static enum XMessageHandler.MsgType
    extends java.lang.Enum<XMessageHandler.MsgType>
    Enumerator of message error levels.
    • 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.
    • Method Summary

      Methods 
      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.
      • 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
    • 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(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
IBM WebSphere Application Server XML API JavadocTM
Release 8.5