public enum Namespace extends Enum<Namespace>
Enum Constant and Description |
---|
MODCLUSTER_1_0 |
UNKNOWN |
Modifier and Type | Field and Description |
---|---|
static Namespace |
CURRENT
The current namespace version.
|
Modifier and Type | Method and Description |
---|---|
int |
getMajorVersion() |
int |
getMinorVersion() |
String |
getUri()
Get the URI of this namespace.
|
org.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>> |
getXMLReader() |
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 MODCLUSTER_1_0
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 getUri()
public int getMajorVersion()
public int getMinorVersion()
public org.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>> getXMLReader()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.