de.fraunhofer.ipsi.xpathDatatypes
Enum XPathError

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

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


Enum Constant Summary
INPUT_VALUE_TOO_LARGE_FOR_DEC
           
INPUT_VALUE_TOO_LARGE_FOR_INT
           
INVALID_ARBGUMENT_FN_RESOLVEURI
           
INVALID_LEXICAL_VALUE
           
INVALID_REGEX
           
INVALID_REGEX_FLAG
           
INVALID_REPLACEMENT_STR
           
NAN_ERROR
           
REGEX_MATCHES_ZERO_L_STR
           
UNIDENTIFIED_ERROR
           
 
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 XPathError valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static XPathError[] 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

UNIDENTIFIED_ERROR

public static final XPathError UNIDENTIFIED_ERROR

INVALID_ARBGUMENT_FN_RESOLVEURI

public static final XPathError INVALID_ARBGUMENT_FN_RESOLVEURI

INPUT_VALUE_TOO_LARGE_FOR_DEC

public static final XPathError INPUT_VALUE_TOO_LARGE_FOR_DEC

INVALID_LEXICAL_VALUE

public static final XPathError INVALID_LEXICAL_VALUE

INPUT_VALUE_TOO_LARGE_FOR_INT

public static final XPathError INPUT_VALUE_TOO_LARGE_FOR_INT

NAN_ERROR

public static final XPathError NAN_ERROR

INVALID_REGEX_FLAG

public static final XPathError INVALID_REGEX_FLAG

INVALID_REGEX

public static final XPathError INVALID_REGEX

REGEX_MATCHES_ZERO_L_STR

public static final XPathError REGEX_MATCHES_ZERO_L_STR

INVALID_REPLACEMENT_STR

public static final XPathError INVALID_REPLACEMENT_STR
Method Detail

values

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

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

valueOf

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