public interface Expression
Modifier and Type | Method and Description |
---|---|
void |
encode(StringBuilder builder)
Encodes this
AttributeValue into its XML representation and writes this encoding
to the given StringBuilder This will always produce the version
used in a policy rather than that used in a request, so this is equivalent to calling
encodeWithTags(true) and then stuffing that into a stream. |
URI |
getType()
Returns the type of the expression.
|
boolean |
returnsBag()
Returns whether or not this expression returns, or evaluates to a Bag.
|
URI getType()
AttributeValue
, the return type of a Function
, etc.boolean returnsBag()
Evaluatable
, which extends this interface, defines evaluatesToBag
which is essentially the same function. This method has been deprecated, and
returnsBag
is now the preferred way to query all Expression
s.void encode(StringBuilder builder)
AttributeValue
into its XML representation and writes this encoding
to the given StringBuilder
This will always produce the version
used in a policy rather than that used in a request, so this is equivalent to calling
encodeWithTags(true)
and then stuffing that into a stream.builder
- string stream into which the XML-encoded data is writtenCopyright © 2020 WSO2. All rights reserved.