Class CustomJsonObjectBasedAttributeValue
java.lang.Object
org.ow2.authzforce.core.pdp.testutil.ext.CustomJsonObjectBasedAttributeValue
- All Implemented Interfaces:
org.ow2.authzforce.core.pdp.api.value.AttributeValue
,org.ow2.authzforce.core.pdp.api.value.PrimitiveValue
,org.ow2.authzforce.core.pdp.api.value.Value
public final class CustomJsonObjectBasedAttributeValue
extends Object
implements org.ow2.authzforce.core.pdp.api.value.AttributeValue
JSON Object as XACML AttributeValue
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Attribute Value factory -
Field Summary
Modifier and TypeFieldDescriptionstatic final org.ow2.authzforce.core.pdp.api.value.AttributeDatatype<CustomJsonObjectBasedAttributeValue>
Datatype -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnet.sf.saxon.s9api.XdmItem
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ow2.authzforce.core.pdp.api.value.PrimitiveValue
getXdmValue
-
Field Details
-
DATATYPE
public static final org.ow2.authzforce.core.pdp.api.value.AttributeDatatype<CustomJsonObjectBasedAttributeValue> DATATYPEDatatype
-
-
Constructor Details
-
CustomJsonObjectBasedAttributeValue
public CustomJsonObjectBasedAttributeValue(org.json.JSONObject json) Constructor- Parameters:
json
- underlying JSON Object value
-
-
Method Details
-
getContent
- Specified by:
getContent
in interfaceorg.ow2.authzforce.core.pdp.api.value.AttributeValue
-
getXmlAttributes
- Specified by:
getXmlAttributes
in interfaceorg.ow2.authzforce.core.pdp.api.value.AttributeValue
-
getXdmItem
public net.sf.saxon.s9api.XdmItem getXdmItem()- Specified by:
getXdmItem
in interfaceorg.ow2.authzforce.core.pdp.api.value.PrimitiveValue
-