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 Details

  • Field Details

  • Method Details

    • values

      public static Namespace[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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 name
      NullPointerException - if the argument is null
    • forUri

      public static Namespace forUri(String uri)
      Converts the specified uri to a Namespace.
      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()