public final class StandardAttributeValueFactories extends Object
Modifier and Type | Method and Description |
---|---|
static AttributeValueFactoryRegistry |
getRegistry(boolean enableXPath,
Optional<BigInteger> maxIntegerValue)
Get standard registry of (datatype-specific) attribute value parsers/factories
|
public static final StringContentOnlyValueFactory<StringValue> STRING
public static final StringParseableValue.Factory<BooleanValue> BOOLEAN
public static final StringParseableValue.Factory<IntegerValue> MEDIUM_INTEGER
Integer
, therefore supports medium-size integers (representing xsd:int)public static final StringParseableValue.Factory<IntegerValue> LONG_INTEGER
Long
, therefore supports long integers (representing xsd:long)public static final StringParseableValue.Factory<IntegerValue> BIG_INTEGER
BigInteger
, therefore supports arbitrary-precision integers (i.e. any xsd:integer)public static final StringParseableValue.Factory<DoubleValue> DOUBLE
public static final StringParseableValue.Factory<TimeValue> TIME
public static final StringParseableValue.Factory<DateValue> DATE
public static final StringParseableValue.Factory<DateTimeValue> DATETIME
public static final StringParseableValue.Factory<AnyUriValue> ANYURI
public static final StringParseableValue.Factory<HexBinaryValue> HEXBINARY
public static final StringContentOnlyValueFactory<Base64BinaryValue> BASE64BINARY
public static final StringParseableValue.Factory<X500NameValue> X500NAME
public static final StringContentOnlyValueFactory<Rfc822NameValue> RFC822NAME
public static final StringContentOnlyValueFactory<IpAddressValue> IPADDRESS
public static final StringContentOnlyValueFactory<DnsNameWithPortRangeValue> DNSNAME
public static final StringContentOnlyValueFactory<DayTimeDurationValue> DAYTIMEDURATION
public static final StringContentOnlyValueFactory<YearMonthDurationValue> YEARMONTHDURATION
public static final SimpleValue.BaseFactory<XPathValue> XPATH
public static final List<StringParseableValue.Factory<? extends SimpleValue<? extends Object>>> MANDATORY_SET_EXCEPT_INTEGER
public static AttributeValueFactoryRegistry getRegistry(boolean enableXPath, Optional<BigInteger> maxIntegerValue)
enableXPath
- true iff XPath-based function(s) support enabledmaxIntegerValue
- Maximum integer value. This is the expected maximum value for XACML attributes of standard type 'http://www.w3.org/2001/XMLSchema#integer'. Decreasing this value as much as possible
helps the PDP engine optimize the processing of integer values (lower memory consumption, faster computations). By default, the Java class used to represent an integer value is:
Copyright © 2012–2020. All rights reserved.