public interface Language
Expression or Predicate instances| Modifier and Type | Method and Description |
|---|---|
Expression |
createExpression(String expression)
Creates an expression based on only the given string input
|
default Expression |
createExpression(String expression,
Object[] properties)
Creates an expression based on the input with properties
|
Predicate |
createPredicate(String expression)
Creates a predicate based on only the given string input
|
default Predicate |
createPredicate(String expression,
Object[] properties)
Creates an expression based on the input with properties
|
Predicate createPredicate(String expression)
expression - the expression as a string inputExpression createExpression(String expression)
expression - the expression as a string inputdefault Predicate createPredicate(String expression, Object[] properties)
This is used for languages that have been configured with custom properties most noticeable for xpath/xquery/tokenizer languages that have several options.
expression - the expressionproperties - configuration properties (optimized as object array with hardcoded positions for properties)default Expression createExpression(String expression, Object[] properties)
This is used for languages that have been configured with custom properties most noticeable for xpath/xquery/tokenizer languages that have several options.
expression - the expressionproperties - configuration properties (optimized as object array with hardcoded positions for properties)Apache Camel