|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.balana.xacml3.AttributeAssignmentExpression
public class AttributeAssignmentExpression
Represents AttributeAssignmentExpressionType in the XACML 3.0 policy schema..
Constructor Summary | |
---|---|
AttributeAssignmentExpression(URI attributeId,
URI category,
Expression expression,
String issuer)
Constructor that creates a new AttributeAssignmentExpression based on
the given elements. |
Method Summary | |
---|---|
void |
encode(StringBuilder builder)
Encodes this AttributeAssignmentExpression into its XML form and writes this out to the provided
StringBuilder |
Set<AttributeAssignment> |
evaluate(EvaluationCtx ctx)
evaluates Expression element and create new Set of
AttributeAssignment |
static AttributeAssignmentExpression |
getInstance(Node root,
PolicyMetaData metaData)
creates a AttributeAssignmentExpression based on its DOM node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttributeAssignmentExpression(URI attributeId, URI category, Expression expression, String issuer)
AttributeAssignmentExpression
based on
the given elements.
attributeId
- attribute id of the AttributeAssignmentExpression elementcategory
- category of the AttributeAssignmentExpression element whether it is subject, action and etcexpression
- Expression
that contains in AttributeAssignmentExpression
issuer
- issuer of the AttributeAssignmentMethod Detail |
---|
public static AttributeAssignmentExpression getInstance(Node root, PolicyMetaData metaData) throws ParsingException
AttributeAssignmentExpression
based on its DOM node.
root
- root the node to parse for the AttributeAssignmentmetaData
- meta-date associated with the policy
AttributeAssignmentExpression
constructed by parsing
ParsingException
- if the DOM node is invalidpublic Set<AttributeAssignment> evaluate(EvaluationCtx ctx)
Expression
element and create new Set
of
AttributeAssignment
ctx
- EvaluationCtx
Set
of AttributeAssignment
public void encode(StringBuilder builder)
AttributeAssignmentExpression
into its XML form and writes this out to the provided
StringBuilder
- Parameters:
builder
- string stream into which the XML-encoded data is written
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |