Package | Description |
---|---|
org.apache.commons.jexl2 |
Provides a framework for evaluating JEXL expressions.
|
org.apache.commons.jexl2.introspection |
Provides high-level introspective services.
|
org.apache.commons.jexl2.parser |
Contains the Parser for JEXL script.
|
Modifier and Type | Class and Description |
---|---|
class |
DebugInfo
Helper class to carry in info such as a url/file name, line and column for
debugging information reporting.
|
Modifier and Type | Field and Description |
---|---|
protected JexlInfo |
JexlException.info
The debug info.
|
Modifier and Type | Method and Description |
---|---|
protected JexlInfo |
JexlEngine.createInfo(String fn,
int l,
int c)
Creates a JexlInfo instance.
|
protected JexlInfo |
JexlEngine.debugInfo()
Creates and fills up debugging information.
|
Modifier and Type | Method and Description |
---|---|
Expression |
JexlEngine.createExpression(String expression,
JexlInfo info)
Creates an Expression from a String containing valid
JEXL syntax.
|
Script |
JexlEngine.createScript(String scriptText,
JexlInfo info)
Deprecated.
|
Script |
JexlEngine.createScript(String scriptText,
JexlInfo info,
String[] names)
Creates a Script from a String containing valid JEXL syntax.
|
protected ASTJexlScript |
JexlEngine.parse(CharSequence expression,
JexlInfo info)
Deprecated.
Use
JexlEngine.parse(CharSequence, JexlInfo, Scope) instead |
protected ASTJexlScript |
JexlEngine.parse(CharSequence expression,
JexlInfo info,
JexlEngine.Scope frame)
Parses an expression.
|
Constructor and Description |
---|
JexlException(JexlInfo dbg,
String msg)
Creates a new JexlException.
|
JexlException(JexlInfo dbg,
String msg,
Throwable cause)
Creates a new JexlException.
|
Parsing(JexlInfo node,
CharSequence expr,
ParseException cause)
Creates a new Variable exception instance.
|
Tokenization(JexlInfo node,
CharSequence expr,
TokenMgrError cause)
Creates a new Tokenization exception instance.
|
Modifier and Type | Method and Description |
---|---|
Constructor<?> |
Uberspect.getConstructor(Object ctorHandle,
Object[] args,
JexlInfo info)
Deprecated.
|
Constructor<?> |
UberspectImpl.getConstructor(Object ctorHandle,
Object[] args,
JexlInfo info)
Deprecated.
|
JexlMethod |
Uberspect.getConstructorMethod(Object ctorHandle,
Object[] args,
JexlInfo info)
Returns a class constructor wrapped in a JexlMethod.
|
JexlMethod |
SandboxUberspectImpl.getConstructorMethod(Object ctorHandle,
Object[] args,
JexlInfo info)
Returns a class constructor wrapped in a JexlMethod.
|
JexlMethod |
UberspectImpl.getConstructorMethod(Object ctorHandle,
Object[] args,
JexlInfo info)
Returns a class constructor wrapped in a JexlMethod.
|
Field |
UberspectImpl.getField(Object obj,
String name,
JexlInfo info)
Returns a class field.
|
Iterator<?> |
Uberspect.getIterator(Object obj,
JexlInfo info)
Gets an iterator from an object.
|
Iterator<?> |
UberspectImpl.getIterator(Object obj,
JexlInfo info)
Gets an iterator from an object.
|
JexlMethod |
Uberspect.getMethod(Object obj,
String method,
Object[] args,
JexlInfo info)
Returns a JexlMethod.
|
JexlMethod |
SandboxUberspectImpl.getMethod(Object obj,
String method,
Object[] args,
JexlInfo info)
Returns a JexlMethod.
|
JexlMethod |
UberspectImpl.getMethod(Object obj,
String method,
Object[] args,
JexlInfo info)
Returns a JexlMethod.
|
JexlPropertyGet |
Uberspect.getPropertyGet(Object obj,
Object identifier,
JexlInfo info)
Property getter.
|
JexlPropertyGet |
SandboxUberspectImpl.getPropertyGet(Object obj,
Object identifier,
JexlInfo info)
Property getter.
|
JexlPropertyGet |
UberspectImpl.getPropertyGet(Object obj,
Object identifier,
JexlInfo info)
Property getter.
|
JexlPropertySet |
Uberspect.getPropertySet(Object obj,
Object identifier,
Object arg,
JexlInfo info)
Property setter.
|
JexlPropertySet |
SandboxUberspectImpl.getPropertySet(Object obj,
Object identifier,
Object arg,
JexlInfo info)
Property setter.
|
JexlPropertySet |
UberspectImpl.getPropertySet(Object obj,
Object identifier,
Object arg,
JexlInfo info)
Property setter.
|
Modifier and Type | Class and Description |
---|---|
class |
ASTAdditiveNode |
class |
ASTAdditiveOperator |
class |
ASTAmbiguous |
class |
ASTAndNode |
class |
ASTArrayAccess |
class |
ASTArrayLiteral |
class |
ASTAssignment |
class |
ASTBitwiseAndNode |
class |
ASTBitwiseComplNode |
class |
ASTBitwiseOrNode |
class |
ASTBitwiseXorNode |
class |
ASTBlock |
class |
ASTConstructorNode |
class |
ASTDivNode |
class |
ASTEmptyFunction |
class |
ASTEQNode |
class |
ASTERNode |
class |
ASTFalseNode |
class |
ASTFloatLiteral
Deprecated.
Only for use in maintaining binary compatibility - should not actually be used - will be removed in 3.0
|
class |
ASTForeachStatement |
class |
ASTFunctionNode |
class |
ASTGENode |
class |
ASTGTNode |
class |
ASTIdentifier
Identifiers, variables and registers.
|
class |
ASTIfStatement |
class |
ASTIntegerLiteral
Deprecated.
Only for use in maintaining binary compatibility - should not actually be used - will be removed in 3.0
|
class |
ASTJexlScript
Enhanced script to allow parameters declaration.
|
class |
ASTLENode |
class |
ASTLTNode |
class |
ASTMapEntry |
class |
ASTMapLiteral |
class |
ASTMethodNode |
class |
ASTModNode |
class |
ASTMulNode |
class |
ASTNENode |
class |
ASTNotNode |
class |
ASTNRNode |
class |
ASTNullLiteral |
class |
ASTNumberLiteral |
class |
ASTOrNode |
class |
ASTReference |
class |
ASTReferenceExpression |
class |
ASTReturnStatement |
class |
ASTSizeFunction |
class |
ASTSizeMethod |
class |
ASTStringLiteral |
class |
ASTTernaryNode |
class |
ASTTrueNode |
class |
ASTUnaryMinusNode |
class |
ASTVar
Declares a local variable.
|
class |
ASTWhileStatement |
class |
JexlNode
Base class for parser nodes - holds an 'image' of the token for later use.
|
Modifier and Type | Method and Description |
---|---|
ASTJexlScript |
Parser.parse(Reader reader,
JexlInfo info) |
Copyright © 2022. All rights reserved.