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
  • Field Details

  • Constructor Details

    • CustomJsonObjectBasedAttributeValue

      public CustomJsonObjectBasedAttributeValue(org.json.JSONObject json)
      Constructor
      Parameters:
      json - underlying JSON Object value
  • Method Details

    • getContent

      public List<Serializable> getContent()
      Specified by:
      getContent in interface org.ow2.authzforce.core.pdp.api.value.AttributeValue
    • getXmlAttributes

      public Map<QName,String> getXmlAttributes()
      Specified by:
      getXmlAttributes in interface org.ow2.authzforce.core.pdp.api.value.AttributeValue
    • getXdmItem

      public net.sf.saxon.s9api.XdmItem getXdmItem()
      Specified by:
      getXdmItem in interface org.ow2.authzforce.core.pdp.api.value.PrimitiveValue