public interface Expression
| Modifier and Type | Method and Description |
|---|---|
void |
encode(OutputStream output)
Encodes this
Expression into its XML representation and
writes this encoding to the given OutputStream with no
indentation. |
void |
encode(OutputStream output,
Indenter indenter)
Encodes this
Expression into its XML representation and
writes this encoding to the given OutputStream with
indentation. |
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 Expressions.void encode(OutputStream output)
Expression into its XML representation and
writes this encoding to the given OutputStream with no
indentation.output - a stream into which the XML-encoded data is writtenvoid encode(OutputStream output, Indenter indenter)
Expression into its XML representation and
writes this encoding to the given OutputStream with
indentation.output - a stream into which the XML-encoded data is writtenindenter - an object that creates indentation stringsCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.