public enum XacmlVersion extends Enum<XacmlVersion>
Enum.ordinal()
and match
the XACML version integers defined in SunXACML PolicyMetadata class.Modifier and Type | Method and Description |
---|---|
static XacmlVersion |
fromValue(String v) |
String |
getNamespace() |
static XacmlVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XacmlVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XacmlVersion V1_0
public static final XacmlVersion V2_0
public static final XacmlVersion V3_0
public static XacmlVersion[] values()
for (XacmlVersion c : XacmlVersion.values()) System.out.println(c);
public static XacmlVersion 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 getNamespace()
public static XacmlVersion fromValue(String v)
v
- schema namespace of this XACML version.Copyright © 2012–2020. All rights reserved.