|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Namespace>
org.infinispan.configuration.parsing.Namespace
public enum Namespace
An enumeration of the supported domain model namespaces.
| Enum Constant Summary | |
|---|---|
INFINISPAN_5_0
|
|
INFINISPAN_5_1
|
|
NONE
|
|
UNKNOWN
|
|
XML_SCHEMA_INSTANCE
|
|
| Field Summary | |
|---|---|
static Namespace |
CURRENT
The current namespace version. |
static EnumSet<Namespace> |
STANDARD_NAMESPACES
Set of all namespaces, excluding the special UNKNOWN value. |
| Method Summary | |
|---|---|
static Namespace |
forUri(String uri)
|
String |
getUriString()
Get the URI of this namespace. |
static Namespace |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Namespace[] |
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 |
| Enum Constant Detail |
|---|
public static final Namespace UNKNOWN
public static final Namespace NONE
public static final Namespace XML_SCHEMA_INSTANCE
public static final Namespace INFINISPAN_5_0
public static final Namespace INFINISPAN_5_1
| Field Detail |
|---|
public static final Namespace CURRENT
public static final EnumSet<Namespace> STANDARD_NAMESPACES
UNKNOWN value.
| Method Detail |
|---|
public static Namespace[] values()
for (Namespace c : Namespace.values()) System.out.println(c);
public static Namespace valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getUriString()
public static Namespace forUri(String uri)
|
--> | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||