Package | Description |
---|---|
org.apache.commons.ognl |
OGNL stands for Object-Graph Navigation Language; it is an expression language
for getting and setting properties of Java objects.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultMemberAccess
This class provides methods for setting up and restoring
access in a Field.
|
Modifier and Type | Field and Description |
---|---|
static MemberAccess |
OgnlContext.DEFAULT_MEMBER_ACCESS |
Modifier and Type | Method and Description |
---|---|
MemberAccess |
OgnlContext.getMemberAccess() |
static MemberAccess |
Ognl.getMemberAccess(Map context)
Gets the currently stored
MemberAccess object for the given context - if any. |
Modifier and Type | Method and Description |
---|---|
static Map |
Ognl.addDefaultContext(Object root,
ClassResolver classResolver,
TypeConverter converter,
MemberAccess memberAccess,
Map context)
Appends the standard naming context for evaluating an OGNL expression into the context given
so that cached maps can be used as a context.
|
static Map |
Ognl.createDefaultContext(Object root,
ClassResolver classResolver,
TypeConverter converter,
MemberAccess memberAccess)
Creates and returns a new standard naming context for evaluating an OGNL expression.
|
static void |
Ognl.setMemberAccess(Map context,
MemberAccess memberAccess)
Configures the specified context with a
MemberAccess instance for
handling field/method protection levels. |
void |
OgnlContext.setMemberAccess(MemberAccess value) |
Constructor and Description |
---|
OgnlContext(ClassResolver classResolver,
TypeConverter typeConverter,
MemberAccess memberAccess)
Constructs a new OgnlContext with the given class resolver, type converter and member access.
|
OgnlContext(ClassResolver classResolver,
TypeConverter typeConverter,
MemberAccess memberAccess,
Map values) |
Copyright © 1997–2021 The Apache Software Foundation. All rights reserved.