public class PolicyAnd extends Policy
Policy.MappingXdiEntityPolicyAndIterator, Policy.MappingXdiEntityPolicyIterator, Policy.MappingXdiEntityPolicyNotIterator, Policy.MappingXdiEntityPolicyOrIterator, Policy.MappingXdiEntityPolicyRootIterator
Modifier | Constructor and Description |
---|---|
protected |
PolicyAnd(XdiEntity xdiEntity) |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluateInternal(PolicyEvaluationContext policyEvaluationContext) |
static PolicyAnd |
fromXdiEntity(XdiEntity xdiEntity)
Factory method that creates an XDI $and policy bound to a given XDI entity.
|
static boolean |
isValid(XdiEntity xdiEntity)
Checks if an XDI entity is a valid XDI $and policy.
|
castCondition, compareTo, createAndPolicy, createNotPolicy, createOrPolicy, equals, evaluate, getContextNode, getOperators, getPolicies, getPolicyXDIArc, getXdiEntity, hashCode, toString
protected PolicyAnd(XdiEntity xdiEntity)
public static boolean isValid(XdiEntity xdiEntity)
xdiEntity
- The XDI entity to check.public static PolicyAnd fromXdiEntity(XdiEntity xdiEntity)
xdiEntity
- The XDI entity that is an XDI root policy.public boolean evaluateInternal(PolicyEvaluationContext policyEvaluationContext)
evaluateInternal
in class Policy
Copyright © 2017. All rights reserved.