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:
Serializable, Comparable<Messages>

 enum Messages
extends Enum<Messages>

Message resources


Enum Constant Summary
CYCLE_IN_MARSHALLER
           
DANGLING_IDREF
           
ELEMENT_NEEDED_BUT_FOUND_DOCUMENT
           
FAILED_TO_GENERATE_SCHEMA
           
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_DISCOVER_EVENTHANDLER
           
UNABLE_TO_FIND_CONVERSION_METHOD
           
UNABLE_TO_MARSHAL_NON_ELEMENT
           
UNKNOWN_CLASS
           
UNRECOGNIZED_ELEMENT_NAME
           
UNSUPPORTED_ENCODING
           
UNSUPPORTED_PROPERTY
           
UNSUPPORTED_RESULT
           
 
Method Summary
 String format(Object... args)
           
 String toString()
           
static Messages valueOf(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 are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
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

CYCLE_IN_MARSHALLER

public static final Messages CYCLE_IN_MARSHALLER

UNABLE_TO_DISCOVER_EVENTHANDLER

public static final Messages UNABLE_TO_DISCOVER_EVENTHANDLER

ELEMENT_NEEDED_BUT_FOUND_DOCUMENT

public static final Messages ELEMENT_NEEDED_BUT_FOUND_DOCUMENT

UNKNOWN_CLASS

public static final Messages UNKNOWN_CLASS

FAILED_TO_GENERATE_SCHEMA

public static final Messages FAILED_TO_GENERATE_SCHEMA
Method Detail

values

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

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

valueOf

public static Messages valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

toString

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

format

public String format(Object... args)