|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.balana.xacml3.AnyOfSelection
public class AnyOfSelection
Represents AnyOfType in the XACML 3.0 policy schema..
Constructor Summary | |
---|---|
AnyOfSelection(List<AllOfSelection> allOfSelections)
Constructor that creates a new AnyOfSelection based on the given elements. |
Method Summary | |
---|---|
void |
encode(StringBuilder builder)
Encodes this AnyOfSelection into its XML form and writes this out to the provided
StringBuilder |
static AnyOfSelection |
getInstance(Node root,
PolicyMetaData metaData)
creates a AnyOfSelection based on its DOM node. |
MatchResult |
match(EvaluationCtx context)
Determines whether this AnyOfSelection 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 |
---|
public AnyOfSelection(List<AllOfSelection> allOfSelections)
AnyOfSelection
based on the given elements.
allOfSelections
- a List
of AllOfSelection
elementsMethod Detail |
---|
public static AnyOfSelection getInstance(Node root, PolicyMetaData metaData) throws ParsingException
AnyOfSelection
based on its DOM node.
root
- the node to parse for the AnyOfSelectionmetaData
- meta-date associated with the policy
AnyOfSelection
constructed by parsing
ParsingException
- if the DOM node is invalidpublic MatchResult match(EvaluationCtx context)
AnyOfSelection
matches the input request (whether it
is applicable).
context
- the representation of the request
public void encode(StringBuilder builder)
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |