Class StringParseableValue<V>
- java.lang.Object
-
- org.ow2.authzforce.core.pdp.api.value.SimpleValue<V>
-
- org.ow2.authzforce.core.pdp.api.value.StringParseableValue<V>
-
- Type Parameters:
V
- underlying Java data type
- All Implemented Interfaces:
AttributeValue
,PrimitiveValue
,Value
- Direct Known Subclasses:
AnyUriValue
,Base64BinaryValue
,BaseTimeValue
,BooleanValue
,DnsNameWithPortRangeValue
,DurationValue
,HexBinaryValue
,IpAddressValue
,NumericValue
,Rfc822NameValue
,StringValue
,X500NameValue
public abstract class StringParseableValue<V> extends SimpleValue<V>
Attribute Value based on string or possibly other type ofSerializable
content, without any extra XML attributes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StringParseableValue.Factory<AV extends AttributeValue>
Datatype-specific Attribute Value Factory that supports values based on string and possibly other type ofSerializable
content without any extra XML attributes.-
Nested classes/interfaces inherited from class org.ow2.authzforce.core.pdp.api.value.SimpleValue
SimpleValue.BaseFactory<AV extends AttributeValue>
-
-
Field Summary
-
Fields inherited from class org.ow2.authzforce.core.pdp.api.value.SimpleValue
value
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
StringParseableValue(V rawVal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<QName,String>
getXmlAttributes()
Get the attributes attached to the value as specified byXmlAnyAttribute
, or any kind of attributes/metadata defined by some markup language that this value type is designed to be (de)serialized (from) to.-
Methods inherited from class org.ow2.authzforce.core.pdp.api.value.SimpleValue
equals, getContent, getUnderlyingValue, hashCode, printXML, toString
-
-
-
-
Constructor Detail
-
StringParseableValue
protected StringParseableValue(V rawVal) throws IllegalArgumentException, NullPointerException
-
-
Method Detail
-
getXmlAttributes
public Map<QName,String> getXmlAttributes()
Description copied from interface:AttributeValue
Get the attributes attached to the value as specified byXmlAnyAttribute
, or any kind of attributes/metadata defined by some markup language that this value type is designed to be (de)serialized (from) to. The primary use of this is (de)serialization of XML attributes. Each key is an attribute's QName and the associated value is the attribute's string value. One example of such XML attribute in XACML standard is the xpathExpression value which has an XPathCategory attribute.- Returns:
- (possibly mixed) content ; not null (must be empty if no attribute)
-
-