public enum Namespace extends Enum<Namespace>
Enum Constant and Description |
---|
INFINISPAN_5_0 |
INFINISPAN_5_1 |
NONE |
UNKNOWN |
XML_SCHEMA_INSTANCE |
Modifier and Type | Field and Description |
---|---|
static Namespace |
CURRENT
The current namespace version.
|
static EnumSet<Namespace> |
STANDARD_NAMESPACES
Set of all namespaces, excluding the special
UNKNOWN value. |
Modifier and Type | Method and Description |
---|---|
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.
|
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
public static final Namespace CURRENT
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 nameNullPointerException
- if the argument is nullpublic String getUriString()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.