Enum Namespace
- java.lang.Object
-
- java.lang.Enum<Namespace>
-
- org.wildfly.extension.picketlink.idm.Namespace
-
- All Implemented Interfaces:
Serializable,Comparable<Namespace>
public enum Namespace extends Enum<Namespace>
- Author:
- Pedro Silva
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PICKETLINK_IDENTITY_MANAGEMENT_1_0PICKETLINK_IDENTITY_MANAGEMENT_1_1PICKETLINK_IDENTITY_MANAGEMENT_2_0PICKETLINK_IDENTITY_MANAGEMENT_3_0
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NamespaceforUri(String uri)Converts the specified uri to aNamespace.intgetMajor()intgetMinor()org.jboss.as.controller.ModelVersiongetModelVersion()intgetPatch()StringgetUri()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 NamespacevalueOf(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.
-
-
-
Enum Constant Detail
-
PICKETLINK_IDENTITY_MANAGEMENT_1_0
public static final Namespace PICKETLINK_IDENTITY_MANAGEMENT_1_0
-
PICKETLINK_IDENTITY_MANAGEMENT_1_1
public static final Namespace PICKETLINK_IDENTITY_MANAGEMENT_1_1
-
PICKETLINK_IDENTITY_MANAGEMENT_2_0
public static final Namespace PICKETLINK_IDENTITY_MANAGEMENT_2_0
-
PICKETLINK_IDENTITY_MANAGEMENT_3_0
public static final Namespace PICKETLINK_IDENTITY_MANAGEMENT_3_0
-
-
Field Detail
-
CURRENT
public static final Namespace CURRENT
-
BASE_URN
public static final String BASE_URN
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Namespace[] 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 (Namespace c : Namespace.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Namespace valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forUri
public static Namespace forUri(String uri)
Converts the specified uri to aNamespace.- Parameters:
uri- a namespace uri- Returns:
- the matching namespace enum.
-
getMajor
public int getMajor()
- Returns:
- the major
-
getMinor
public int getMinor()
- Returns:
- the minor
-
getPatch
public int getPatch()
- Returns:
- the patch
-
getUri
public String getUri()
Get the URI of this namespace.- Returns:
- the URI
-
getXMLReader
public org.jboss.staxmapper.XMLElementReader<List<org.jboss.dmr.ModelNode>> getXMLReader()
Returns a xml reader for a specific namespace version.- Returns:
-
getXMLWriter
public org.jboss.staxmapper.XMLElementWriter<org.jboss.as.controller.persistence.SubsystemMarshallingContext> getXMLWriter()
Returns a xml writer for a specific namespace version.- Returns:
-
getModelVersion
public org.jboss.as.controller.ModelVersion getModelVersion()
-
-