Package | Description |
---|---|
org.apache.commons.jexl3 |
Provides a framework for evaluating JEXL expressions.
|
Modifier and Type | Field and Description |
---|---|
static JexlFeatures |
JexlEngine.DEFAULT_FEATURES
Default features.
|
Modifier and Type | Method and Description |
---|---|
JexlFeatures |
JexlFeatures.annotation(boolean flag)
Sets whether annotation constructs are enabled.
|
JexlFeatures |
JexlFeatures.arrayReferenceExpr(boolean flag)
Sets whether array references expressions are enabled.
|
JexlFeatures |
JexlFeatures.comparatorNames(boolean flag)
Sets whether the legacy comparison operator names syntax is enabled.
|
JexlFeatures |
JexlFeatures.fatArrow(boolean flag)
Sets whether fat-arrow lambda syntax is enabled.
|
JexlFeatures |
JexlBuilder.features() |
JexlFeatures |
JexlFeatures.importPragma(boolean flag)
Sets whether import pragma constructs are enabled.
|
JexlFeatures |
JexlFeatures.lambda(boolean flag)
Sets whether lambda/function constructs are enabled.
|
JexlFeatures |
JexlFeatures.lexical(boolean flag)
Sets whether syntactic lexical mode is enabled.
|
JexlFeatures |
JexlFeatures.lexicalShade(boolean flag)
Sets whether syntactic lexical shade is enabled.
|
JexlFeatures |
JexlFeatures.localVar(boolean flag)
Sets whether local variables are enabled.
|
JexlFeatures |
JexlFeatures.loops(boolean flag)
Sets whether looping constructs are enabled.
|
JexlFeatures |
JexlFeatures.methodCall(boolean flag)
Sets whether method calls expressions are enabled.
|
JexlFeatures |
JexlFeatures.namespacePragma(boolean flag)
Sets whether namespace pragma constructs are enabled.
|
JexlFeatures |
JexlFeatures.namespaceTest(Predicate<String> names)
Sets a test to determine namespace declaration.
|
JexlFeatures |
JexlFeatures.newInstance(boolean flag)
Sets whether creating new instances is enabled.
|
JexlFeatures |
JexlFeatures.pragma(boolean flag)
Sets whether pragma constructs are enabled.
|
JexlFeatures |
JexlFeatures.pragmaAnywhere(boolean flag)
Sets whether pragma constructs can appear anywhere in the code.
|
JexlFeatures |
JexlFeatures.register(boolean flag)
Sets whether register are enabled.
|
JexlFeatures |
JexlFeatures.reservedNames(Collection<String> names)
Sets a collection of reserved names precluding those to be used as local variables or parameter names.
|
JexlFeatures |
JexlFeatures.script(boolean flag)
Sets whether scripts constructs are enabled.
|
JexlFeatures |
JexlFeatures.sideEffect(boolean flag)
Sets whether side effect expressions are enabled.
|
JexlFeatures |
JexlFeatures.sideEffectGlobal(boolean flag)
Sets whether side effect expressions on global variables (aka non-local) are enabled.
|
JexlFeatures |
JexlFeatures.structuredLiteral(boolean flag)
Sets whether array/map/set literal expressions are enabled.
|
JexlFeatures |
JexlFeatures.thinArrow(boolean flag)
Sets whether thin-arrow lambda syntax is enabled.
|
Modifier and Type | Method and Description |
---|---|
abstract JexlScript |
JexlEngine.createScript(JexlFeatures features,
JexlInfo info,
String source,
String... names)
Creates a JexlScript from a String containing valid JEXL syntax.
|
JexlBuilder |
JexlBuilder.features(JexlFeatures f)
Sets the features the engine will use as a base by default.
|
Constructor and Description |
---|
JexlFeatures(JexlFeatures features)
Copy constructor.
|
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.