public enum Namespace extends Enum<Namespace>
Enum Constant and Description |
---|
PICKETLINK_FEDERATION_1_0 |
PICKETLINK_FEDERATION_1_1 |
PICKETLINK_FEDERATION_2_0 |
Modifier and Type | Field and Description |
---|---|
static String |
BASE_URN |
static Namespace |
CURRENT |
Modifier and Type | Method and Description |
---|---|
static Namespace |
forUri(String uri)
Converts the specified uri to a
Namespace . |
int |
getMajor() |
int |
getMinor() |
org.jboss.as.controller.ModelVersion |
getModelVersion() |
int |
getPatch() |
String |
getUri()
Get the URI of this namespace.
|
org.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>> |
getXMLReader()
Returns a xml reader for a specific namespace version.
|
org.jboss.staxmapper.XMLElementWriter<org.jboss.as.controller.persistence.SubsystemMarshallingContext> |
getXMLWriter()
Returns a xml writer for a specific namespace version.
|
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 PICKETLINK_FEDERATION_1_0
public static final Namespace PICKETLINK_FEDERATION_1_1
public static final Namespace PICKETLINK_FEDERATION_2_0
public static final Namespace CURRENT
public static final String BASE_URN
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 static Namespace forUri(String uri)
Namespace
.uri
- a namespace uripublic int getMajor()
public int getMinor()
public int getPatch()
public String getUri()
public org.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>> getXMLReader()
public org.jboss.staxmapper.XMLElementWriter<org.jboss.as.controller.persistence.SubsystemMarshallingContext> getXMLWriter()
public org.jboss.as.controller.ModelVersion getModelVersion()
Copyright © 2018 JBoss by Red Hat. All rights reserved.