de.fraunhofer.ipsi.xquery.errors
Enum TypeError

java.lang.Object
  extended by java.lang.Enum<TypeError>
      extended by de.fraunhofer.ipsi.xquery.errors.TypeError
All Implemented Interfaces:
ErrorDescription, java.io.Serializable, java.lang.Comparable<TypeError>

public enum TypeError
extends java.lang.Enum<TypeError>
implements ErrorDescription


Enum Constant Summary
CAST_NOT_ALLOWED
           
CONTEXT_ITEM_IS_NOT_A_NODE
           
MISMATCHED_PARAMETER_TYPE
           
UNEXPECTED_ATTRIBUTE_NODE
           
UNEXPECTED_TYPE
           
UNEXPECTED_TYPE_FOR_VALIDATE
           
UNEXPECTED_TYPE_STATIC
           
UNKNOWN_TYPES_IN_MODULE
           
 
Method Summary
 java.lang.String getCode()
          Method getCode
 java.lang.String getDetailMessage()
          Method getDetailMessage
 java.lang.String getShortMessage()
          Method getMessage
 java.lang.String getSpecificationLabel()
          Method getSpecificationLabel
 java.lang.String getSpecificationURI()
          Method getSpecificationURI
static TypeError valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TypeError[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNEXPECTED_TYPE_STATIC

public static final TypeError UNEXPECTED_TYPE_STATIC

UNEXPECTED_TYPE

public static final TypeError UNEXPECTED_TYPE

MISMATCHED_PARAMETER_TYPE

public static final TypeError MISMATCHED_PARAMETER_TYPE

CAST_NOT_ALLOWED

public static final TypeError CAST_NOT_ALLOWED

CONTEXT_ITEM_IS_NOT_A_NODE

public static final TypeError CONTEXT_ITEM_IS_NOT_A_NODE

UNEXPECTED_ATTRIBUTE_NODE

public static final TypeError UNEXPECTED_ATTRIBUTE_NODE

UNEXPECTED_TYPE_FOR_VALIDATE

public static final TypeError UNEXPECTED_TYPE_FOR_VALIDATE

UNKNOWN_TYPES_IN_MODULE

public static final TypeError UNKNOWN_TYPES_IN_MODULE
Method Detail

values

public static final TypeError[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(TypeError c : TypeError.values())
        System.out.println(c);

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

valueOf

public static TypeError 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

getCode

public java.lang.String getCode()
Method getCode

Specified by:
getCode in interface ErrorDescription
Returns:
a String

getShortMessage

public java.lang.String getShortMessage()
Method getMessage

Specified by:
getShortMessage in interface ErrorDescription
Returns:
a String

getDetailMessage

public java.lang.String getDetailMessage()
Method getDetailMessage

Specified by:
getDetailMessage in interface ErrorDescription
Returns:
a String

getSpecificationLabel

public java.lang.String getSpecificationLabel()
Method getSpecificationLabel

Specified by:
getSpecificationLabel in interface ErrorDescription
Returns:
a String

getSpecificationURI

public java.lang.String getSpecificationURI()
Method getSpecificationURI

Specified by:
getSpecificationURI in interface ErrorDescription
Returns:
a String