Class TestXacmlPolicyAttributeValue
- java.lang.Object
-
- org.ow2.authzforce.core.pdp.testutil.ext.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TestXacmlPolicyAttributeValue.Factory
TestXacmlPolicyAttributeValue
factory
-
Field Summary
Fields Modifier and Type Field Description static org.ow2.authzforce.core.pdp.api.value.AttributeDatatype<TestXacmlPolicyAttributeValue>
DATATYPE
Datatype
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
List<Serializable>
getContent()
oasis.names.tc.xacml._3_0.core.schema.wd_17.Policy
getUnderlyingValue()
Returns the internal. net.sf.saxon.s9api.XdmItem
getXdmItem()
Map<QName,String>
getXmlAttributes()
int
hashCode()
-
-
-
Field Detail
-
DATATYPE
public static final org.ow2.authzforce.core.pdp.api.value.AttributeDatatype<TestXacmlPolicyAttributeValue> DATATYPE
Datatype
-
-
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 interfaceorg.ow2.authzforce.core.pdp.api.value.AttributeValue
-
getXmlAttributes
public Map<QName,String> 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
-
-