com.sun.xml.bind.v2.runtime
Enum Messages

java.lang.Object
  extended by java.lang.Enum<Messages>
      extended by com.sun.xml.bind.v2.runtime.Messages
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Messages>

 enum Messages
extends java.lang.Enum<Messages>

Message resources


Enum Constant Summary
DANGLING_IDREF
           
ILLEGAL_PARAMETER
           
MISSING_ID
           
MISSING_OBJECT
           
MUST_BE_X
           
NOT_IDENTIFIABLE
           
NOT_IMPLEMENTED_IN_2_0
           
NOT_MARSHALLABLE
           
NULL_OUTPUT_RESOLVER
           
NULL_PROPERTY_NAME
           
SUBSTITUTED_BY_ANONYMOUS_TYPE
           
TYPE_MISMATCH
           
UNABLE_TO_FIND_CONVERSION_METHOD
           
UNABLE_TO_MARSHAL_NON_ELEMENT
           
UNRECOGNIZED_ELEMENT_NAME
           
UNSUPPORTED_ENCODING
           
UNSUPPORTED_PROPERTY
           
UNSUPPORTED_RESULT
           
 
Method Summary
 java.lang.String format(java.lang.Object... args)
           
 java.lang.String toString()
           
static Messages valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Messages[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ILLEGAL_PARAMETER

public static final Messages ILLEGAL_PARAMETER

UNABLE_TO_FIND_CONVERSION_METHOD

public static final Messages UNABLE_TO_FIND_CONVERSION_METHOD

MISSING_ID

public static final Messages MISSING_ID

NOT_IMPLEMENTED_IN_2_0

public static final Messages NOT_IMPLEMENTED_IN_2_0

UNRECOGNIZED_ELEMENT_NAME

public static final Messages UNRECOGNIZED_ELEMENT_NAME

TYPE_MISMATCH

public static final Messages TYPE_MISMATCH

MISSING_OBJECT

public static final Messages MISSING_OBJECT

NOT_IDENTIFIABLE

public static final Messages NOT_IDENTIFIABLE

DANGLING_IDREF

public static final Messages DANGLING_IDREF

NULL_OUTPUT_RESOLVER

public static final Messages NULL_OUTPUT_RESOLVER

UNABLE_TO_MARSHAL_NON_ELEMENT

public static final Messages UNABLE_TO_MARSHAL_NON_ELEMENT

UNSUPPORTED_PROPERTY

public static final Messages UNSUPPORTED_PROPERTY

NULL_PROPERTY_NAME

public static final Messages NULL_PROPERTY_NAME

MUST_BE_X

public static final Messages MUST_BE_X

NOT_MARSHALLABLE

public static final Messages NOT_MARSHALLABLE

UNSUPPORTED_RESULT

public static final Messages UNSUPPORTED_RESULT

UNSUPPORTED_ENCODING

public static final Messages UNSUPPORTED_ENCODING

SUBSTITUTED_BY_ANONYMOUS_TYPE

public static final Messages SUBSTITUTED_BY_ANONYMOUS_TYPE
Method Detail

values

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

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

valueOf

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<Messages>

format

public java.lang.String format(java.lang.Object... args)