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. |
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 dataAllOfSelection
ParsingException
- 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 void encode(StringBuilder builder)
AnyOfSelection
into its XML form and writes this out to the provided
StringBuilder
builder
- string stream into which the XML-encoded data is writtenCopyright © 2018 WSO2. All rights reserved.