org.wso2.balana.xacml3
Class AllOfSelection

java.lang.Object
  extended by org.wso2.balana.xacml3.AllOfSelection

public class AllOfSelection
extends Object

Represents AllOfType in the XACML 3.0 policy schema.


Constructor Summary
AllOfSelection(List<TargetMatch> matches)
          Constructor that creates a AllOfSelection from components.
 
Method Summary
 void encode(StringBuilder builder)
          Encodes this AnyOfSelection into its XML form and writes this out to the provided StringBuilder
static AllOfSelection getInstance(Node root, PolicyMetaData metaData)
          creates a new AllOfSelection by parsing DOM node.
 MatchResult match(EvaluationCtx context)
          Determines whether this AllOfSelection matches the input request (whether it is applicable).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllOfSelection

public AllOfSelection(List<TargetMatch> matches)
Constructor that creates a AllOfSelection from components.

Parameters:
matches - a List of TargetMatch elements
Method Detail

getInstance

public static AllOfSelection getInstance(Node root,
                                         PolicyMetaData metaData)
                                  throws ParsingException
creates a new AllOfSelection by parsing DOM node.

Parameters:
root - DOM node
metaData - policy meta data
Returns:
AllOfSelection
Throws:
ParsingException - throws, if the DOM node is invalid

match

public MatchResult match(EvaluationCtx context)
Determines whether this AllOfSelection matches the input request (whether it is applicable).

Parameters:
context - the representation of the request
Returns:
the result of trying to match the group with the context

encode

public void encode(StringBuilder builder)
Encodes this AnyOfSelection into its XML form and writes this out to the provided StringBuilder

Parameters:
builder - string stream into which the XML-encoded data is written


Copyright © 2015 WSO2. All rights reserved.