public class ExpressionHandler extends Object
| Constructor and Description |
|---|
ExpressionHandler() |
| Modifier and Type | Method and Description |
|---|---|
static Function |
getFunction(Node root,
PolicyMetaData metaData,
FunctionFactory factory)
Helper method that tries to get a function instance
|
static Expression |
parseExpression(Node root,
PolicyMetaData metaData,
VariableManager manager)
Parses an expression, recursively handling any sub-elements.
|
public static Expression parseExpression(Node root, PolicyMetaData metaData, VariableManager manager) throws ParsingException
Apply, Condition, and
VariableDefinition.root - the DOM root of an ExpressionType XML typemetaData - the meta-data associated with the containing policymanager - VariableManager used to connect references and definitions while
parsingExpression or null if the root node cannot be parsed as a valid
ExpressionParsingExceptionpublic static Function getFunction(Node root, PolicyMetaData metaData, FunctionFactory factory) throws ParsingException
ParsingExceptionCopyright © 2024 WSO2. All rights reserved.