Class TestXacmlPolicyAttributeValue

  • 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 TestXacmlPolicyAttributeValue
    extends Object
    implements org.ow2.authzforce.core.pdp.api.value.AttributeValue
    Represents a XACML Policy datatype (from XACML schema), to be used as AttributeValue.

    Used here for testing Authzforce datatype extension mechanism, i.e. plugging a custom complex datatype into the PDP engine.

    • Method Detail

      • getUnderlyingValue

        public oasis.names.tc.xacml._3_0.core.schema.wd_17.Policy getUnderlyingValue()
        Returns the internal .
        Returns:
        the value FIXME: make Policy class final/immutable
      • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getXdmItem

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