public class AllOfSelection extends Object
| Constructor and Description |
|---|
AllOfSelection(List<TargetMatch> matches)
Constructor that creates a
AllOfSelection from components. |
| Modifier and Type | Method and Description |
|---|---|
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. |
List<TargetMatch> |
getMatches() |
MatchResult |
match(EvaluationCtx context)
Determines whether this
AllOfSelection matches the input request (whether it
is applicable). |
public AllOfSelection(List<TargetMatch> matches)
AllOfSelection from components.matches - a List of TargetMatch elementspublic static AllOfSelection getInstance(Node root, PolicyMetaData metaData) throws ParsingException
AllOfSelection by parsing DOM node.root - DOM nodemetaData - policy meta dataAllOfSelectionParsingException - throws, if the DOM node is invalidpublic MatchResult match(EvaluationCtx context)
AllOfSelection matches the input request (whether it
is applicable).context - the representation of the requestpublic List<TargetMatch> getMatches()
public void encode(StringBuilder builder)
AnyOfSelection into its XML form and writes this out to the provided
StringBuilderbuilder - string stream into which the XML-encoded data is writtenCopyright © 2018 WSO2. All rights reserved.