org.apache.myfaces.extensions.validator.internal
Enum UsageCategory
java.lang.Object
java.lang.Enum<UsageCategory>
org.apache.myfaces.extensions.validator.internal.UsageCategory
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<UsageCategory>
public enum UsageCategory
- extends java.lang.Enum<UsageCategory>
API:
parts you might need for custom implementations and which are quite stable in view of changes
INTERNAL:
if you think about referencing an artifact which is marked as internal, ask for support.
there should be a better solution
CUSTOMIZABLE:
a planned extension point which contains logic to customize the framework.
if it isn't also marked as API it might change in future releases.
however, we try to keep it as stable as possible and reasonable.
REUSE:
an artifact which you can reuse for a custom implementation.
if it isn't marked as API it might change in future releases.
however, we try to keep it as stable as possible and reasonable.
- Since:
- 1.x.1
- Author:
- Gerhard Petracek
Method Summary |
static UsageCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static UsageCategory[] |
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, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
API
public static final UsageCategory API
INTERNAL
public static final UsageCategory INTERNAL
CUSTOMIZABLE
public static final UsageCategory CUSTOMIZABLE
REUSE
public static final UsageCategory REUSE
values
public static UsageCategory[] 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 (UsageCategory c : UsageCategory.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static UsageCategory 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
java.lang.NullPointerException
- if the argument is null
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.