@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class RequestAttribute extends java.lang.Object
Constructor and Description |
---|
RequestAttribute(java.lang.String dataType,
java.util.List<java.lang.String> values)
Construct a RequestAttribute object with the specified data type
and values.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDataType()
Get the XACML data type of the values of this request attribute.
|
java.util.List<java.lang.String> |
getValues()
Get the values of this request attribute.
|
public RequestAttribute(java.lang.String dataType, java.util.List<java.lang.String> values)
dataType
- XACML data type URI string, must not be null Must be
a value from the set of data types described in Appendix
A.2 of the specification "OASIS Extensible Access Control
Markup Language (XACML) Version 3.0" Example:
"http://www.w3.org/2001/XMLSchema#string".values
- list of values, may be empty but not null. Each string
must be formatted according to its XML data type.public java.util.List<java.lang.String> getValues()
public java.lang.String getDataType()