public enum XacmlDatatypeId extends Enum<XacmlDatatypeId>
Enum Constant and Description |
---|
ANY_URI |
BASE64_BINARY |
BOOLEAN |
DATE |
DATETIME |
DAYTIME_DURATION |
DNS_NAME |
DOUBLE |
HEX_BINARY |
INTEGER |
IP_ADDRESS |
RFC822_NAME |
STRING |
TIME |
X500_NAME |
XPATH_EXPRESSION |
YEARMONTH_DURATION |
Modifier and Type | Field and Description |
---|---|
static String |
XML_SCHEMA_URI_PREFIX
Prefix of URI of XML schema built-in datatypes (used in XACML), up to the '#' included: "http://www.w3.org/2001/XMLSchema#"
|
static int |
XML_SCHEMA_URI_PREFIX_LENGTH
Length of
XML_SCHEMA_URI_PREFIX , used for extracting suffix from datatypes in order to create XACML function names, logging types of data, etc. |
Modifier and Type | Method and Description |
---|---|
static XacmlDatatypeId |
fromValue(String datatypeURI)
Get datatype enum constant from datatype URI
|
String |
value()
Get datatype URI
|
static XacmlDatatypeId |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XacmlDatatypeId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XacmlDatatypeId STRING
public static final XacmlDatatypeId BOOLEAN
public static final XacmlDatatypeId INTEGER
public static final XacmlDatatypeId DOUBLE
public static final XacmlDatatypeId TIME
public static final XacmlDatatypeId DATE
public static final XacmlDatatypeId DATETIME
public static final XacmlDatatypeId DAYTIME_DURATION
public static final XacmlDatatypeId YEARMONTH_DURATION
public static final XacmlDatatypeId ANY_URI
public static final XacmlDatatypeId HEX_BINARY
public static final XacmlDatatypeId BASE64_BINARY
public static final XacmlDatatypeId RFC822_NAME
public static final XacmlDatatypeId X500_NAME
public static final XacmlDatatypeId IP_ADDRESS
public static final XacmlDatatypeId DNS_NAME
public static final XacmlDatatypeId XPATH_EXPRESSION
public static final String XML_SCHEMA_URI_PREFIX
public static final int XML_SCHEMA_URI_PREFIX_LENGTH
XML_SCHEMA_URI_PREFIX
, used for extracting suffix from datatypes in order to create XACML function names, logging types of data, etc.public static XacmlDatatypeId[] values()
for (XacmlDatatypeId c : XacmlDatatypeId.values()) System.out.println(c);
public static XacmlDatatypeId 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 value()
public static XacmlDatatypeId fromValue(String datatypeURI)
datatypeURI
- datatype idenfifier (URI)Copyright © 2012–2020. All rights reserved.