org.eclipse.jetty.webapp
Enum MetaData.Origin
java.lang.Object
java.lang.Enum<MetaData.Origin>
org.eclipse.jetty.webapp.MetaData.Origin
- All Implemented Interfaces:
- Serializable, Comparable<MetaData.Origin>
- Enclosing class:
- MetaData
public static enum MetaData.Origin
- extends Enum<MetaData.Origin>
Method Summary |
static MetaData.Origin |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MetaData.Origin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
NotSet
public static final MetaData.Origin NotSet
WebXml
public static final MetaData.Origin WebXml
WebDefaults
public static final MetaData.Origin WebDefaults
WebOverride
public static final MetaData.Origin WebOverride
WebFragment
public static final MetaData.Origin WebFragment
Annotation
public static final MetaData.Origin Annotation
values
public static MetaData.Origin[] 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 (MetaData.Origin c : MetaData.Origin.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MetaData.Origin 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
Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.