- callAppropriateMethod(OgnlContext, Object, Object, String, String, List, Object[]) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- callConstructor(OgnlContext, String, Object[]) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- callMethod(Map, Object, String, Object[]) - Method in interface org.apache.commons.ognl.MethodAccessor
-
Calls the method named with the arguments given.
- callMethod(Map, Object, String, Object[]) - Method in class org.apache.commons.ognl.ObjectMethodAccessor
-
- callMethod(OgnlContext, Object, String, String, Object[]) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- callMethod(OgnlContext, Object, String, Object[]) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
Invokes the specified method against the target object.
- callStaticMethod(Map, Class, String, Object[]) - Method in interface org.apache.commons.ognl.MethodAccessor
-
Calls the static method named with the arguments given on the class given.
- callStaticMethod(Map, Class, String, Object[]) - Method in class org.apache.commons.ognl.ObjectMethodAccessor
-
- callStaticMethod(OgnlContext, String, String, Object[]) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- castExpression(OgnlContext, Node, String) - Method in class org.apache.commons.ognl.enhance.ExpressionCompiler
-
- castExpression(OgnlContext, Node, String) - Method in interface org.apache.commons.ognl.enhance.OgnlExpressionCompiler
-
Used primarily by AST types like
ASTChain
where
foo.bar.id
type references
may need to be cast multiple times in order to properly resolve the members in a compiled statement.
- castToRuntime(Throwable) - Static method in class org.apache.commons.ognl.OgnlOps
-
Utility method that converts incoming exceptions to
RuntimeException
instances - or casts them if they already are.
- CHAR - Static variable in interface org.apache.commons.ognl.NumericTypes
-
Type tag meaning char.
- CHAR_LITERAL - Static variable in interface org.apache.commons.ognl.OgnlParserConstants
-
RegularExpression Id.
- CLASS_RESOLVER_CONTEXT_KEY - Static variable in class org.apache.commons.ognl.OgnlContext
-
- ClassCache - Interface in org.apache.commons.ognl.internal
-
This is a highly specialized map for storing values keyed by Class objects.
- ClassCacheImpl - Class in org.apache.commons.ognl.internal
-
- ClassCacheImpl() - Constructor for class org.apache.commons.ognl.internal.ClassCacheImpl
-
- ClassCacheInspector - Interface in org.apache.commons.ognl
-
- classForName(String, Map) - Method in interface org.apache.commons.ognl.ClassResolver
-
- classForName(String, Map) - Method in class org.apache.commons.ognl.DefaultClassResolver
-
- classForName(OgnlContext, String) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- className() - Method in class org.apache.commons.ognl.OgnlParser
-
- classReference() - Method in class org.apache.commons.ognl.OgnlParser
-
- ClassResolver - Interface in org.apache.commons.ognl
-
This interface defines an object that will resolve a class from a string
and a ognl context table.
- clear() - Method in interface org.apache.commons.ognl.internal.ClassCache
-
- clear() - Method in class org.apache.commons.ognl.internal.ClassCacheImpl
-
- clear() - Method in class org.apache.commons.ognl.IntHashMap
-
- clear() - Method in class org.apache.commons.ognl.OgnlContext
-
- clearCache() - Static method in class org.apache.commons.ognl.OgnlRuntime
-
Clears all of the cached reflection information normally used
to improve the speed of expressions that operate on the same classes
or are executed multiple times.
- clearNodeScope(Node) - Method in class org.apache.commons.ognl.JJTOgnlParserState
-
- closeNodeScope(Node, int) - Method in class org.apache.commons.ognl.JJTOgnlParserState
-
- closeNodeScope(Node, boolean) - Method in class org.apache.commons.ognl.JJTOgnlParserState
-
- coerceToNumeric(String, OgnlContext, Node) - Method in class org.apache.commons.ognl.NumericExpression
-
- CollectionElementsAccessor - Class in org.apache.commons.ognl
-
Implementation of ElementsAccessor that returns a collection's iterator.
- CollectionElementsAccessor() - Constructor for class org.apache.commons.ognl.CollectionElementsAccessor
-
- column - Variable in class org.apache.commons.ognl.JavaCharStream
-
- compareWithConversion(Object, Object) - Static method in class org.apache.commons.ognl.OgnlOps
-
Compares two objects for equality, even if it has to convert one of them to the other type.
- ComparisonExpression - Class in org.apache.commons.ognl
-
Base class for types that compare values.
- ComparisonExpression(int) - Constructor for class org.apache.commons.ognl.ComparisonExpression
-
- ComparisonExpression(OgnlParser, int) - Constructor for class org.apache.commons.ognl.ComparisonExpression
-
- compileExpression(OgnlContext, Node, Object) - Method in class org.apache.commons.ognl.enhance.ExpressionCompiler
-
- compileExpression(OgnlContext, Node, Object) - Method in interface org.apache.commons.ognl.enhance.OgnlExpressionCompiler
-
The core method executed to compile a specific expression.
- compileExpression(OgnlContext, Object, String) - Static method in class org.apache.commons.ognl.Ognl
-
Parses and compiles the given expression using the ognl.enhance.OgnlExpressionCompiler
returned
from ognl.OgnlRuntime#getCompiler()
.
- compileExpression(OgnlContext, Node, Object) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- conditionalTestExpression() - Method in class org.apache.commons.ognl.OgnlParser
-
- constructorCall() - Method in class org.apache.commons.ognl.OgnlParser
-
- containsKey(int) - Method in class org.apache.commons.ognl.IntHashMap
-
- containsKey(Object) - Method in class org.apache.commons.ognl.IntHashMap
-
- containsKey(Object) - Method in class org.apache.commons.ognl.OgnlContext
-
- containsMethod(Method, Class) - Method in class org.apache.commons.ognl.enhance.ExpressionCompiler
-
- containsValue(Object) - Method in class org.apache.commons.ognl.IntHashMap
-
- containsValue(Object) - Method in class org.apache.commons.ognl.OgnlContext
-
- CONTEXT_CONTEXT_KEY - Static variable in class org.apache.commons.ognl.OgnlContext
-
- ContextClassLoader - Class in org.apache.commons.ognl.enhance
-
- ContextClassLoader(ClassLoader, OgnlContext) - Constructor for class org.apache.commons.ognl.enhance.ContextClassLoader
-
- convertValue(Map, Object, Class) - Method in class org.apache.commons.ognl.DefaultTypeConverter
-
- convertValue(Map, Object, Member, String, Object, Class) - Method in class org.apache.commons.ognl.DefaultTypeConverter
-
- convertValue(char, Class) - Static method in class org.apache.commons.ognl.OgnlOps
-
- convertValue(byte, Class) - Static method in class org.apache.commons.ognl.OgnlOps
-
- convertValue(int, Class) - Static method in class org.apache.commons.ognl.OgnlOps
-
- convertValue(long, Class) - Static method in class org.apache.commons.ognl.OgnlOps
-
- convertValue(float, Class) - Static method in class org.apache.commons.ognl.OgnlOps
-
- convertValue(double, Class) - Static method in class org.apache.commons.ognl.OgnlOps
-
- convertValue(boolean, Class) - Static method in class org.apache.commons.ognl.OgnlOps
-
- convertValue(char, Class, boolean) - Static method in class org.apache.commons.ognl.OgnlOps
-
- convertValue(byte, Class, boolean) - Static method in class org.apache.commons.ognl.OgnlOps
-
- convertValue(int, Class, boolean) - Static method in class org.apache.commons.ognl.OgnlOps
-
- convertValue(long, Class, boolean) - Static method in class org.apache.commons.ognl.OgnlOps
-
- convertValue(float, Class, boolean) - Static method in class org.apache.commons.ognl.OgnlOps
-
- convertValue(double, Class, boolean) - Static method in class org.apache.commons.ognl.OgnlOps
-
- convertValue(boolean, Class, boolean) - Static method in class org.apache.commons.ognl.OgnlOps
-
- convertValue(Object, Class) - Static method in class org.apache.commons.ognl.OgnlOps
-
Returns the value converted numerically to the given class type This method also detects when
arrays are being converted and converts the components of one array to the type of the other.
- convertValue(Object, Class, boolean) - Static method in class org.apache.commons.ognl.OgnlOps
-
- convertValue(Map, Object, Member, String, Object, Class) - Method in interface org.apache.commons.ognl.TypeConverter
-
Converts the given value to a given type.
- create(SimpleNode, Object) - Method in class org.apache.commons.ognl.EvaluationPool
-
Returns an Evaluation that contains the node, source and whether it
is a set operation.
- create(SimpleNode, Object, boolean) - Method in class org.apache.commons.ognl.EvaluationPool
-
Returns an Evaluation that contains the node, source and whether it
is a set operation.
- create(int) - Method in class org.apache.commons.ognl.ObjectArrayPool
-
- create(Object) - Method in class org.apache.commons.ognl.ObjectArrayPool
-
- create(Object, Object) - Method in class org.apache.commons.ognl.ObjectArrayPool
-
- create(Object, Object, Object) - Method in class org.apache.commons.ognl.ObjectArrayPool
-
- create(Object, Object, Object, Object) - Method in class org.apache.commons.ognl.ObjectArrayPool
-
- create(Object, Object, Object, Object, Object) - Method in class org.apache.commons.ognl.ObjectArrayPool
-
- create() - Method in class org.apache.commons.ognl.ObjectArrayPool.SizePool
-
- createDefaultContext(Object) - Static method in class org.apache.commons.ognl.Ognl
-
Creates and returns a new standard naming context for evaluating an OGNL expression.
- createDefaultContext(Object, ClassResolver) - Static method in class org.apache.commons.ognl.Ognl
-
Creates and returns a new standard naming context for evaluating an OGNL expression.
- createDefaultContext(Object, ClassResolver, TypeConverter) - Static method in class org.apache.commons.ognl.Ognl
-
Creates and returns a new standard naming context for evaluating an OGNL expression.
- createDefaultContext(Object, ClassResolver, TypeConverter, MemberAccess) - Static method in class org.apache.commons.ognl.Ognl
-
Creates and returns a new standard naming context for evaluating an OGNL expression.
- createLocalReference(OgnlContext, String, Class) - Method in class org.apache.commons.ognl.enhance.ExpressionCompiler
-
- createLocalReference(OgnlContext, String, Class) - Method in interface org.apache.commons.ognl.enhance.OgnlExpressionCompiler
-
Method is used for expressions where multiple inner parameter method calls in generated java source strings
cause javassit failures.
- curChar - Variable in class org.apache.commons.ognl.OgnlParserTokenManager
-
- currentToken - Variable in exception org.apache.commons.ognl.ParseException
-
This is the last token that has been consumed successfully.
- generateGetter(OgnlContext, CtClass, CtClass, ClassPool, CtMethod, Node, Object) - Method in class org.apache.commons.ognl.enhance.ExpressionCompiler
-
- generateOgnlGetter(CtClass, CtMethod, CtField) - Method in class org.apache.commons.ognl.enhance.ExpressionCompiler
-
Fail safe getter creation when normal compilation fails.
- generateOgnlSetter(CtClass, CtMethod, CtField) - Method in class org.apache.commons.ognl.enhance.ExpressionCompiler
-
Fail safe setter creation when normal compilation fails.
- generateParseException() - Method in class org.apache.commons.ognl.OgnlParser
-
Generate ParseException.
- generateSetter(OgnlContext, CtClass, CtClass, ClassPool, CtMethod, Node, Object) - Method in class org.apache.commons.ognl.enhance.ExpressionCompiler
-
- get(OgnlContext, Object) - Method in interface org.apache.commons.ognl.enhance.ExpressionAccessor
-
Gets the value represented by this expression path, if any.
- get(Class) - Method in interface org.apache.commons.ognl.internal.ClassCache
-
- get(Class) - Method in class org.apache.commons.ognl.internal.ClassCacheImpl
-
- get(int) - Method in class org.apache.commons.ognl.IntHashMap
-
- get(Object) - Method in class org.apache.commons.ognl.IntHashMap
-
- get(Object) - Method in class org.apache.commons.ognl.OgnlContext
-
- getAccessor() - Method in interface org.apache.commons.ognl.Node
-
Gets the compiled bytecode enhanced expression accessor for getting/setting values.
- getAccessor() - Method in class org.apache.commons.ognl.SimpleNode
-
- getAllowPackageProtectedAccess() - Method in class org.apache.commons.ognl.DefaultMemberAccess
-
- getAllowPrivateAccess() - Method in class org.apache.commons.ognl.DefaultMemberAccess
-
- getAllowProtectedAccess() - Method in class org.apache.commons.ognl.DefaultMemberAccess
-
- getAppropriateMethod(OgnlContext, Object, Object, String, List, Object[], Object[]) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
Gets the appropriate method to be called for the given target, method name and arguments.
- getArgClass(Object) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
Gets the class for a method argument that is appropriate for looking up methods by
reflection, by looking for the standard primitive wrapper classes and exchanging for them
their underlying primitive class objects.
- getArraySize() - Method in class org.apache.commons.ognl.ObjectArrayPool.SizePool
-
- getBaseName(Object) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
Returns the base name (the class name without the package name prepended) of the object
given.
- getBeginColumn() - Method in class org.apache.commons.ognl.JavaCharStream
-
- getBeginLine() - Method in class org.apache.commons.ognl.JavaCharStream
-
- getCastString(Class) - Static method in class org.apache.commons.ognl.enhance.ExpressionCompiler
-
Returns the appropriate casting expression (minus parens) for the specified class type.
- getChildSource(OgnlContext, Object, Node) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getChildSource(OgnlContext, Object, Node, boolean) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getClassBaseName(Class) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
Returns the base name (the class name without the package name prepended) of the class given.
- getClassLoader(OgnlContext) - Method in class org.apache.commons.ognl.enhance.ExpressionCompiler
-
Creates a
ClassLoader
instance compatible with the javassist classloader and normal
OGNL class resolving semantics.
- getClassName(Class) - Method in class org.apache.commons.ognl.enhance.ExpressionCompiler
-
- getClassName(Class) - Method in interface org.apache.commons.ognl.enhance.OgnlExpressionCompiler
-
Gets a javassist safe class string for the given class instance.
- getClassName(Object, boolean) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getClassName(Class, boolean) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getClassPackageName(Class) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
Returns the package name of the class given.
- getClassPool(OgnlContext, EnhancedClassLoader) - Method in class org.apache.commons.ognl.enhance.ExpressionCompiler
-
Gets either a new or existing ClassPool
for use in compiling javassist
classes.
- getClassResolver(Map) - Static method in class org.apache.commons.ognl.Ognl
-
Gets the previously stored
ClassResolver
for the given context - if any.
- getClassResolver() - Method in class org.apache.commons.ognl.OgnlContext
-
- getColumn() - Method in class org.apache.commons.ognl.JavaCharStream
-
Deprecated.
- getComparisonFunction() - Method in class org.apache.commons.ognl.ComparisonExpression
-
- getCompiler() - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getConstructors(Class) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getConvertedConstructorAndArgs(OgnlContext, Object, List, Object[], Object[]) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getConvertedMethodAndArgs(OgnlContext, Object, String, List, Object[], Object[]) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getConvertedType(OgnlContext, Object, Member, String, Object, Class) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getConvertedTypes(OgnlContext, Object, Member, String, Class[], Object[], Object[]) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getCoreExpression() - Method in class org.apache.commons.ognl.ASTChain
-
- getCoreExpression() - Method in class org.apache.commons.ognl.ASTMethod
-
- getCoreExpression() - Method in class org.apache.commons.ognl.ASTSequence
-
- getCoreExpression() - Method in class org.apache.commons.ognl.ASTVarRef
-
- getCoreExpression() - Method in interface org.apache.commons.ognl.enhance.OrderedReturn
-
Get the core expression to execute first before any return foo logic is started.
- getCreatedCount() - Method in class org.apache.commons.ognl.EvaluationPool
-
Returns the number of items this pool has created since
it's construction.
- getCreatedCount() - Method in class org.apache.commons.ognl.ObjectArrayPool.SizePool
-
Returns the number of items this pool has created since
it's construction.
- getCtClass(Class) - Method in class org.apache.commons.ognl.enhance.ExpressionCompiler
-
Loads a new class definition via javassist for the specified class.
- getCurrentAccessor() - Method in class org.apache.commons.ognl.OgnlContext
-
- getCurrentEvaluation() - Method in class org.apache.commons.ognl.OgnlContext
-
Gets the current Evaluation from the top of the stack.
- getCurrentNode() - Method in class org.apache.commons.ognl.OgnlContext
-
- getCurrentObject() - Method in class org.apache.commons.ognl.OgnlContext
-
- getCurrentType() - Method in class org.apache.commons.ognl.OgnlContext
-
- getDeclaredMethods(Class, String, boolean) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getElements(Object) - Method in class org.apache.commons.ognl.ArrayElementsAccessor
-
- getElements(Object) - Method in class org.apache.commons.ognl.CollectionElementsAccessor
-
- getElements(Object) - Method in interface org.apache.commons.ognl.ElementsAccessor
-
Returns an iterator over the elements of the given target object.
- getElements(Object) - Method in class org.apache.commons.ognl.EnumerationElementsAccessor
-
- getElements(Object) - Method in class org.apache.commons.ognl.IteratorElementsAccessor
-
- getElements(Object) - Method in class org.apache.commons.ognl.MapElementsAccessor
-
- getElements(Object) - Method in class org.apache.commons.ognl.NumberElementsAccessor
-
- getElements(Object) - Method in class org.apache.commons.ognl.ObjectElementsAccessor
-
- getElementsAccessor(Class) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getEndColumn() - Method in class org.apache.commons.ognl.JavaCharStream
-
Get end column.
- getEndLine() - Method in class org.apache.commons.ognl.JavaCharStream
-
Get end line.
- getEscapedChar(char) - Static method in class org.apache.commons.ognl.OgnlOps
-
- getEscapeString(String) - Static method in class org.apache.commons.ognl.OgnlOps
-
- getEvaluation(int) - Method in class org.apache.commons.ognl.OgnlContext
-
Returns the Evaluation at the relative index given.
- getEvaluation() - Method in exception org.apache.commons.ognl.OgnlException
-
Returns the Evaluation that was the root evaluation when the exception was
thrown.
- getEvaluationPool() - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getException() - Method in class org.apache.commons.ognl.Evaluation
-
Returns the exception that occurred as a result of evaluating the
Evaluation, or null if no exception occurred.
- getExpression() - Method in interface org.apache.commons.ognl.enhance.LocalReference
-
The expression that sets the value, ie the part after refName =
.
- getExpression() - Method in class org.apache.commons.ognl.enhance.LocalReferenceImpl
-
- getExpressionOperator(int) - Method in class org.apache.commons.ognl.ASTAnd
-
- getExpressionOperator(int) - Method in class org.apache.commons.ognl.ASTOr
-
- getExpressionOperator(int) - Method in class org.apache.commons.ognl.ExpressionNode
-
- getField(Class, String) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getFields(Class) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getFieldValue(OgnlContext, Object, String) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getFieldValue(OgnlContext, Object, String, boolean) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getFirstAccessor() - Method in class org.apache.commons.ognl.OgnlContext
-
- getFirstChild() - Method in class org.apache.commons.ognl.Evaluation
-
Returns the first child of this evaluation.
- getFirstDescendant() - Method in class org.apache.commons.ognl.Evaluation
-
Gets the first descendent.
- getFirstType() - Method in class org.apache.commons.ognl.OgnlContext
-
- getFlag() - Method in class org.apache.commons.ognl.DynamicSubscript
-
- getGetMethod(OgnlContext, Class, String) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getGetterClass() - Method in class org.apache.commons.ognl.ASTAnd
-
- getGetterClass() - Method in class org.apache.commons.ognl.ASTChain
-
- getGetterClass() - Method in class org.apache.commons.ognl.ASTConst
-
- getGetterClass() - Method in class org.apache.commons.ognl.ASTInstanceof
-
- getGetterClass() - Method in class org.apache.commons.ognl.ASTList
-
- getGetterClass() - Method in class org.apache.commons.ognl.ASTMethod
-
- getGetterClass() - Method in class org.apache.commons.ognl.ASTOr
-
- getGetterClass() - Method in class org.apache.commons.ognl.ASTProperty
-
- getGetterClass() - Method in class org.apache.commons.ognl.ASTSequence
-
- getGetterClass() - Method in class org.apache.commons.ognl.ASTStaticField
-
- getGetterClass() - Method in class org.apache.commons.ognl.ASTStaticMethod
-
- getGetterClass() - Method in class org.apache.commons.ognl.ASTVarRef
-
- getGetterClass() - Method in class org.apache.commons.ognl.BooleanExpression
-
- getGetterClass() - Method in interface org.apache.commons.ognl.NodeType
-
The type returned from the expression - if any.
- getGetterClass() - Method in class org.apache.commons.ognl.NumericExpression
-
- GetImage() - Method in class org.apache.commons.ognl.JavaCharStream
-
- getIndexedProperty(OgnlContext, Object, String, Object) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getIndexedPropertyType(OgnlContext, Object) - Method in class org.apache.commons.ognl.ASTProperty
-
Returns true if this property is described by an IndexedPropertyDescriptor and that if
followed by an index specifier it will call the index get/set methods rather than go through
property accessors.
- getIndexedPropertyType(OgnlContext, Class, String) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
Determines the index property type, if any.
- getIndexedReadMethod() - Method in class org.apache.commons.ognl.ObjectIndexedPropertyDescriptor
-
- getIndexedWriteMethod() - Method in class org.apache.commons.ognl.ObjectIndexedPropertyDescriptor
-
- getIndexInParent() - Method in class org.apache.commons.ognl.SimpleNode
-
- getInterfaceClass(Class) - Method in class org.apache.commons.ognl.enhance.ExpressionCompiler
-
- getInterfaceClass(Class) - Method in interface org.apache.commons.ognl.enhance.OgnlExpressionCompiler
-
- getIntValue(Object) - Static method in class org.apache.commons.ognl.OgnlOps
-
Converts the specified value to a primitive integer value.
- getKeepLastEvaluation() - Method in class org.apache.commons.ognl.OgnlContext
-
Returns true if the last evaluation that was done on this context is retained and available
through getLastEvaluation()
.
- getLastChild() - Method in class org.apache.commons.ognl.Evaluation
-
Returns the last child of this evaluation.
- getLastDescendant() - Method in class org.apache.commons.ognl.Evaluation
-
Gets the last descendent.
- getLastEvaluation(Map) - Static method in class org.apache.commons.ognl.Ognl
-
Gets the last
Evaluation
executed on the given context.
- getLastEvaluation() - Method in class org.apache.commons.ognl.OgnlContext
-
- getLastExpression() - Method in class org.apache.commons.ognl.ASTChain
-
- getLastExpression() - Method in class org.apache.commons.ognl.ASTMethod
-
- getLastExpression() - Method in class org.apache.commons.ognl.ASTSequence
-
- getLastExpression() - Method in class org.apache.commons.ognl.ASTVarRef
-
- getLastExpression() - Method in interface org.apache.commons.ognl.enhance.OrderedReturn
-
Gets the last expression to be pre-pended with a return <expression> block.
- getLine() - Method in class org.apache.commons.ognl.JavaCharStream
-
Deprecated.
- getLocalReferences() - Method in class org.apache.commons.ognl.OgnlContext
-
- getMemberAccess(Map) - Static method in class org.apache.commons.ognl.Ognl
-
Gets the currently stored
MemberAccess
object for the given context - if any.
- getMemberAccess() - Method in class org.apache.commons.ognl.OgnlContext
-
- getMessage() - Method in exception org.apache.commons.ognl.ParseException
-
This method has the standard behavior when this object has been
created using the standard constructors.
- getMessage() - Method in error org.apache.commons.ognl.TokenMgrError
-
You can also modify the body of this method to customize your error messages.
- getMethod(OgnlContext, Class, String, Node[], boolean) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getMethodAccessor(Class) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getMethodName() - Method in class org.apache.commons.ognl.ASTMethod
-
Returns the method name that this node will call.
- getMethods(Class, boolean) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getMethods(Class, String, boolean) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getMethodValue(OgnlContext, Object, String) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getMethodValue(OgnlContext, Object, String, boolean) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
If the checkAccessAndExistence flag is true this method will check to see if the method
exists and if it is accessible according to the context's MemberAccess.
- getModifierString(int) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getName() - Method in interface org.apache.commons.ognl.enhance.LocalReference
-
The name of the assigned variable reference.
- getName() - Method in class org.apache.commons.ognl.enhance.LocalReferenceImpl
-
- getName() - Method in exception org.apache.commons.ognl.NoSuchPropertyException
-
- getNext() - Method in class org.apache.commons.ognl.Evaluation
-
Returns the next sibling of this evaluation.
- getNextSibling() - Method in class org.apache.commons.ognl.SimpleNode
-
- getNextToken() - Method in class org.apache.commons.ognl.OgnlParser
-
Get the next Token.
- getNextToken() - Method in class org.apache.commons.ognl.OgnlParserTokenManager
-
Get the next Token.
- getNode() - Method in class org.apache.commons.ognl.Evaluation
-
Returns the SimpleNode
for this Evaluation
- getNullHandler(Class) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getNumericCast(Class) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getNumericDefaultValue(Class) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getNumericLiteral(Class) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getNumericType(Object) - Static method in class org.apache.commons.ognl.OgnlOps
-
Returns a constant from the NumericTypes interface that represents the numeric type of the
given object.
- getNumericType(Object, Object) - Static method in class org.apache.commons.ognl.OgnlOps
-
Returns the constant from the NumericTypes interface that best expresses the type of a
numeric operation on the two given objects.
- getNumericType(int, int, boolean) - Static method in class org.apache.commons.ognl.OgnlOps
-
Returns the constant from the NumericTypes interface that best expresses the type of an
operation, which can be either numeric or not, on the two given types.
- getNumericType(Object, Object, boolean) - Static method in class org.apache.commons.ognl.OgnlOps
-
Returns the constant from the NumericTypes interface that best expresses the type of an
operation, which can be either numeric or not, on the two given objects.
- getNumericValueGetter(Class) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getObjectArrayPool() - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getPackageName(Object) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
Returns the package name of the object's class.
- getParameterTypes(Method) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
Returns the parameter types of the given method.
- getParameterTypes(Constructor) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
Returns the parameter types of the given method.
- getParent() - Method in class org.apache.commons.ognl.Evaluation
-
Returns the parent evaluation of this evaluation.
- getPermission(Method) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
Permission will be named "invoke..".
- getPointerString(int) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
Returns a "pointer" string in the usual format for these things - 0x.
- getPointerString(Object) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
Returns a "pointer" string in the usual format for these things - 0x for the
object given.
- getPossibleProperty(Map, Object, String) - Method in class org.apache.commons.ognl.ObjectPropertyAccessor
-
Returns OgnlRuntime.NotFound if the property does not exist.
- getPrevious() - Method in class org.apache.commons.ognl.Evaluation
-
Returns the previous sibling of this evaluation.
- getPreviousAccessor() - Method in class org.apache.commons.ognl.OgnlContext
-
- getPreviousType() - Method in class org.apache.commons.ognl.OgnlContext
-
- getPrimitiveDefaultValue(Class) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getPrimitiveWrapperClass(Class) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getProperty(Map, Object, Object) - Method in class org.apache.commons.ognl.ArrayPropertyAccessor
-
- getProperty(OgnlContext, Object) - Method in class org.apache.commons.ognl.ASTProperty
-
- getProperty(Map, Object, Object) - Method in class org.apache.commons.ognl.EnumerationPropertyAccessor
-
- getProperty(Map, Object, Object) - Method in class org.apache.commons.ognl.IteratorPropertyAccessor
-
- getProperty(Map, Object, Object) - Method in class org.apache.commons.ognl.ListPropertyAccessor
-
- getProperty(Map, Object, Object) - Method in class org.apache.commons.ognl.MapPropertyAccessor
-
- getProperty(Map, Object, Object) - Method in class org.apache.commons.ognl.ObjectPropertyAccessor
-
- getProperty(OgnlContext, Object, Object) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getProperty(Class, String) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getProperty(Map, Object, Object) - Method in interface org.apache.commons.ognl.PropertyAccessor
-
Extracts and returns the property of the given name from the given target object.
- getProperty(Map, Object, Object) - Method in class org.apache.commons.ognl.SetPropertyAccessor
-
- getPropertyAccessor(Class) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getPropertyClass(OgnlContext, Object, Object) - Method in class org.apache.commons.ognl.ListPropertyAccessor
-
- getPropertyClass(OgnlContext, Object, Object) - Method in class org.apache.commons.ognl.ObjectPropertyAccessor
-
- getPropertyDescriptor(Class, String) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
This method returns a PropertyDescriptor for the given class and property name using a Map
lookup (using getPropertyDescriptorsMap()).
- getPropertyDescriptorFromArray(Class, String) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
Gets the property descriptor with the given name for the target class given.
- getPropertyDescriptors(Class) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
This method returns the property descriptors for the given class as a Map.
- getPropertyDescriptorsArray(Class) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getPropertyType() - Method in class org.apache.commons.ognl.ObjectIndexedPropertyDescriptor
-
- getReadMethod(Class, String) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
Finds the best possible match for a method on the specified target class with a matching
name.
- getReadMethod(Class, String, int) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getReason() - Method in exception org.apache.commons.ognl.OgnlException
-
Returns the encapsulated exception, or null if there is none.
- getRecoveredCount() - Method in class org.apache.commons.ognl.EvaluationPool
-
Returns the number of items this pool has recovered from
the pool since its construction.
- getRecoveredCount() - Method in class org.apache.commons.ognl.ObjectArrayPool.SizePool
-
Returns the number of items this pool has recovered from
the pool since its construction.
- getRecycledCount() - Method in class org.apache.commons.ognl.EvaluationPool
-
Returns the number of items this pool has recycled since
it's construction.
- getRecycledCount() - Method in class org.apache.commons.ognl.ObjectArrayPool.SizePool
-
Returns the number of items this pool has recycled since
it's construction.
- getResult() - Method in class org.apache.commons.ognl.Evaluation
-
Returns the result of the Evaluation, or null if it was a set operation.
- getRoot(Map) - Static method in class org.apache.commons.ognl.Ognl
-
Gets the stored root object for the given context - if any.
- getRoot() - Method in class org.apache.commons.ognl.OgnlContext
-
- getRootEvaluation() - Method in class org.apache.commons.ognl.OgnlContext
-
Gets the root of the evaluation stack.
- getRootExpression(Node, Object, OgnlContext) - Static method in class org.apache.commons.ognl.enhance.ExpressionCompiler
-
Convenience method called by many different property/method resolving AST types to get a root expression
resolving string for the given node.
- getRootExpressionClass(Node, OgnlContext) - Method in class org.apache.commons.ognl.enhance.ExpressionCompiler
-
- getRootExpressionClass(Node, OgnlContext) - Method in interface org.apache.commons.ognl.enhance.OgnlExpressionCompiler
-
For a given root object type returns the base class type to be used in root referenced expressions.
- getSecurityManager() - Static method in class org.apache.commons.ognl.OgnlRuntime
-
Gets the SecurityManager that OGNL uses to determine permissions for invoking methods.
- getSetMethod(OgnlContext, Class, String) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getSetterClass() - Method in class org.apache.commons.ognl.ASTChain
-
- getSetterClass() - Method in class org.apache.commons.ognl.ASTConst
-
- getSetterClass() - Method in class org.apache.commons.ognl.ASTInstanceof
-
- getSetterClass() - Method in class org.apache.commons.ognl.ASTList
-
- getSetterClass() - Method in class org.apache.commons.ognl.ASTMethod
-
- getSetterClass() - Method in class org.apache.commons.ognl.ASTProperty
-
- getSetterClass() - Method in class org.apache.commons.ognl.ASTSequence
-
- getSetterClass() - Method in class org.apache.commons.ognl.ASTStaticField
-
- getSetterClass() - Method in class org.apache.commons.ognl.ASTStaticMethod
-
- getSetterClass() - Method in class org.apache.commons.ognl.ASTVarRef
-
- getSetterClass() - Method in class org.apache.commons.ognl.BooleanExpression
-
- getSetterClass() - Method in interface org.apache.commons.ognl.NodeType
-
The type used to set the value - if any.
- getSetterClass() - Method in class org.apache.commons.ognl.NumericExpression
-
- getSize() - Method in class org.apache.commons.ognl.EvaluationPool
-
Returns the number of items in the pool
- getSize() - Method in interface org.apache.commons.ognl.internal.ClassCache
-
- getSize() - Method in class org.apache.commons.ognl.internal.ClassCacheImpl
-
- getSize() - Method in class org.apache.commons.ognl.ObjectArrayPool.SizePool
-
Returns the number of items in the pool
- getSizePool(int) - Method in class org.apache.commons.ognl.ObjectArrayPool
-
- getSizePools() - Method in class org.apache.commons.ognl.ObjectArrayPool
-
- getSource() - Method in class org.apache.commons.ognl.Evaluation
-
Returns the source object on which this Evaluation operated.
- getSourceAccessor(OgnlContext, Object, Object) - Method in class org.apache.commons.ognl.ArrayPropertyAccessor
-
- getSourceAccessor(OgnlContext, Object, Object) - Method in class org.apache.commons.ognl.ListPropertyAccessor
-
- getSourceAccessor(OgnlContext, Object, Object) - Method in class org.apache.commons.ognl.MapPropertyAccessor
-
- getSourceAccessor(OgnlContext, Object, Object) - Method in class org.apache.commons.ognl.ObjectPropertyAccessor
-
- getSourceAccessor(OgnlContext, Object, Object) - Method in interface org.apache.commons.ognl.PropertyAccessor
-
Returns a java string representing the textual method that should be called to access a
particular element.
- getSourceSetter(OgnlContext, Object, Object) - Method in class org.apache.commons.ognl.ArrayPropertyAccessor
-
- getSourceSetter(OgnlContext, Object, Object) - Method in class org.apache.commons.ognl.ListPropertyAccessor
-
- getSourceSetter(OgnlContext, Object, Object) - Method in class org.apache.commons.ognl.MapPropertyAccessor
-
- getSourceSetter(OgnlContext, Object, Object) - Method in class org.apache.commons.ognl.ObjectPropertyAccessor
-
- getSourceSetter(OgnlContext, Object, Object) - Method in interface org.apache.commons.ognl.PropertyAccessor
-
Returns a java string representing the textual method that should be called to set a
particular element.
- getStaticField(OgnlContext, String, String) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- GetSuffix(int) - Method in class org.apache.commons.ognl.JavaCharStream
-
- getSuperOrInterfaceClass(Method, Class) - Method in class org.apache.commons.ognl.enhance.ExpressionCompiler
-
- getSuperOrInterfaceClass(Method, Class) - Method in interface org.apache.commons.ognl.enhance.OgnlExpressionCompiler
-
For the given
Method
and class finds the highest level interface class this combination can be cast to.
- getTabSize(int) - Method in class org.apache.commons.ognl.JavaCharStream
-
- getTarget() - Method in exception org.apache.commons.ognl.NoSuchPropertyException
-
- getTargetClass(Object) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
Gets the "target" class of an object for looking up accessors that are registered on the
target.
- getToken(int) - Method in class org.apache.commons.ognl.OgnlParser
-
Get the specific Token.
- getTraceEvaluations() - Method in class org.apache.commons.ognl.OgnlContext
-
- getType() - Method in interface org.apache.commons.ognl.enhance.LocalReference
-
The type of reference.
- getType() - Method in class org.apache.commons.ognl.enhance.LocalReferenceImpl
-
- getTypeConverter(Map) - Static method in class org.apache.commons.ognl.Ognl
-
Gets the currently configured
TypeConverter
for the given context - if any.
- getTypeConverter() - Method in class org.apache.commons.ognl.OgnlContext
-
- getUniqueDescriptor(Object, boolean) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
Returns a unique descriptor string that includes the object's class and a unique integer
identifier.
- getUniqueDescriptor(Object) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
Returns a unique descriptor string that includes the object's class' base name and a unique
integer identifier.
- getValue() - Method in class org.apache.commons.ognl.ASTConst
-
- getValue(OgnlContext, Object) - Method in interface org.apache.commons.ognl.Node
-
Extracts the value from the given source object that is appropriate for this node
within the given context.
- getValue(Object, Map, Object) - Static method in class org.apache.commons.ognl.Ognl
-
Evaluates the given OGNL expression tree to extract a value from the given root object.
- getValue(Object, Map, Object, Class) - Static method in class org.apache.commons.ognl.Ognl
-
Evaluates the given OGNL expression tree to extract a value from the given root object.
- getValue(ExpressionAccessor, OgnlContext, Object) - Static method in class org.apache.commons.ognl.Ognl
-
Gets the value represented by the given pre-compiled expression on the specified root
object.
- getValue(ExpressionAccessor, OgnlContext, Object, Class) - Static method in class org.apache.commons.ognl.Ognl
-
Gets the value represented by the given pre-compiled expression on the specified root
object.
- getValue(String, Map, Object) - Static method in class org.apache.commons.ognl.Ognl
-
Evaluates the given OGNL expression to extract a value from the given root object in a given
context
- getValue(String, Map, Object, Class) - Static method in class org.apache.commons.ognl.Ognl
-
Evaluates the given OGNL expression to extract a value from the given root object in a given
context
- getValue(Object, Object) - Static method in class org.apache.commons.ognl.Ognl
-
Evaluates the given OGNL expression tree to extract a value from the given root object.
- getValue(Object, Object, Class) - Static method in class org.apache.commons.ognl.Ognl
-
Evaluates the given OGNL expression tree to extract a value from the given root object.
- getValue(String, Object) - Static method in class org.apache.commons.ognl.Ognl
-
Convenience method that combines calls to parseExpression
and
getValue
.
- getValue(String, Object, Class) - Static method in class org.apache.commons.ognl.Ognl
-
Convenience method that combines calls to parseExpression
and
getValue
.
- getValue(OgnlContext, Object) - Method in class org.apache.commons.ognl.SimpleNode
-
- getValue() - Method in class org.apache.commons.ognl.Token
-
An optional attribute value of the Token.
- getValueBody(OgnlContext, Object) - Method in class org.apache.commons.ognl.ASTAnd
-
- getValueBody(OgnlContext, Object) - Method in class org.apache.commons.ognl.ASTChain
-
- getValueBody(OgnlContext, Object) - Method in class org.apache.commons.ognl.ASTConst
-
- getValueBody(OgnlContext, Object) - Method in class org.apache.commons.ognl.ASTCtor
-
- getValueBody(OgnlContext, Object) - Method in class org.apache.commons.ognl.ASTInstanceof
-
- getValueBody(OgnlContext, Object) - Method in class org.apache.commons.ognl.ASTList
-
- getValueBody(OgnlContext, Object) - Method in class org.apache.commons.ognl.ASTMethod
-
- getValueBody(OgnlContext, Object) - Method in class org.apache.commons.ognl.ASTOr
-
- getValueBody(OgnlContext, Object) - Method in class org.apache.commons.ognl.ASTProperty
-
- getValueBody(OgnlContext, Object) - Method in class org.apache.commons.ognl.ASTRootVarRef
-
- getValueBody(OgnlContext, Object) - Method in class org.apache.commons.ognl.ASTSequence
-
- getValueBody(OgnlContext, Object) - Method in class org.apache.commons.ognl.ASTStaticField
-
- getValueBody(OgnlContext, Object) - Method in class org.apache.commons.ognl.ASTStaticMethod
-
- getValueBody(OgnlContext, Object) - Method in class org.apache.commons.ognl.ASTThisVarRef
-
- getValueBody(OgnlContext, Object) - Method in class org.apache.commons.ognl.ASTVarRef
-
- getValueBody(OgnlContext, Object) - Method in class org.apache.commons.ognl.SimpleNode
-
Subclasses implement this method to do the actual work of extracting the appropriate value from the source object.
- getValues() - Method in class org.apache.commons.ognl.OgnlContext
-
- getWriteMethod(Class, String) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- getWriteMethod(Class, String, int) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- greater(Object, Object) - Static method in class org.apache.commons.ognl.OgnlOps
-
- IDENT - Static variable in interface org.apache.commons.ognl.OgnlParserConstants
-
RegularExpression Id.
- image - Variable in class org.apache.commons.ognl.Token
-
The string image of the token.
- in(Object, Object) - Static method in class org.apache.commons.ognl.OgnlOps
-
- InappropriateExpressionException - Exception in org.apache.commons.ognl
-
Exception thrown if an OGNL expression is evaluated in the wrong context; the usual
case is when an expression that does not end in a property reference is passed to
setValue
.
- InappropriateExpressionException(Node) - Constructor for exception org.apache.commons.ognl.InappropriateExpressionException
-
- inBuf - Variable in class org.apache.commons.ognl.JavaCharStream
-
- inclusiveOrExpression() - Method in class org.apache.commons.ognl.OgnlParser
-
- incrementLocalReferenceCounter() - Method in class org.apache.commons.ognl.OgnlContext
-
- index() - Method in class org.apache.commons.ognl.OgnlParser
-
- INDEXED_PROPERTY_INT - Static variable in class org.apache.commons.ognl.OgnlRuntime
-
JavaBeans IndexedProperty
- INDEXED_PROPERTY_NONE - Static variable in class org.apache.commons.ognl.OgnlRuntime
-
Not an indexed property
- INDEXED_PROPERTY_OBJECT - Static variable in class org.apache.commons.ognl.OgnlRuntime
-
OGNL ObjectIndexedProperty
- init(SimpleNode, Object, boolean) - Method in class org.apache.commons.ognl.Evaluation
-
Reinitializes this Evaluation to the parameters specified.
- input_stream - Variable in class org.apache.commons.ognl.OgnlParserTokenManager
-
- inputStream - Variable in class org.apache.commons.ognl.JavaCharStream
-
- INT - Static variable in interface org.apache.commons.ognl.NumericTypes
-
Type tag meaning int.
- INT_LITERAL - Static variable in interface org.apache.commons.ognl.OgnlParserConstants
-
RegularExpression Id.
- IntHashMap - Class in org.apache.commons.ognl
-
A Map that uses ints as the keys.
- IntHashMap(int, float) - Constructor for class org.apache.commons.ognl.IntHashMap
-
- IntHashMap(int) - Constructor for class org.apache.commons.ognl.IntHashMap
-
- IntHashMap() - Constructor for class org.apache.commons.ognl.IntHashMap
-
- IntHashMap.Entry - Class in org.apache.commons.ognl
-
- invokeMethod(Object, Method, Object[]) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- isAccessible(Map, Object, Member, String) - Method in class org.apache.commons.ognl.DefaultMemberAccess
-
Returns true if the given member is accessible or can be made accessible
by this object.
- isAccessible(Map, Object, Member, String) - Method in interface org.apache.commons.ognl.MemberAccess
-
Returns true if the given member is accessible or can be made accessible
by this object.
- isArray() - Method in class org.apache.commons.ognl.ASTCtor
-
- isBoolean(String) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- isConstant(OgnlContext) - Method in class org.apache.commons.ognl.ExpressionNode
-
- isConstant(Object, Map) - Static method in class org.apache.commons.ognl.Ognl
-
Checks if the specified
Node
instance represents a constant
expression.
- isConstant(String, Map) - Static method in class org.apache.commons.ognl.Ognl
-
Checks if the specified expression represents a constant expression.
- isConstant(Object) - Static method in class org.apache.commons.ognl.Ognl
-
- isConstant(String) - Static method in class org.apache.commons.ognl.Ognl
-
- isConstant(OgnlContext) - Method in class org.apache.commons.ognl.SimpleNode
-
- isEmpty() - Method in class org.apache.commons.ognl.IntHashMap
-
- isEmpty() - Method in class org.apache.commons.ognl.OgnlContext
-
- isEqual(Object, Object) - Static method in class org.apache.commons.ognl.OgnlOps
-
Returns true if object1 is equal to object2 in either the sense that they are the same object
or, if both are non-null if they are equal in the equals()
sense.
- isFieldAccessible(OgnlContext, Object, Class, String) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- isFieldAccessible(OgnlContext, Object, Field, String) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- isIndexedAccess() - Method in class org.apache.commons.ognl.ASTProperty
-
Returns true if this property is itself an index reference.
- isInstance(OgnlContext, Object, String) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- isJdk15() - Static method in class org.apache.commons.ognl.OgnlRuntime
-
Checks if the current jvm is java language >= 1.5 compatible.
- isMethodAccessible(OgnlContext, Object, Method, String) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- isMoreSpecific(Class[], Class[]) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
Tells whether the first array of classes is more specific than the second.
- isNodeConstant(OgnlContext) - Method in class org.apache.commons.ognl.ASTConst
-
- isNodeConstant(OgnlContext) - Method in class org.apache.commons.ognl.ASTStaticField
-
- isNodeConstant(OgnlContext) - Method in class org.apache.commons.ognl.ExpressionNode
-
Returns true iff this node is constant without respect to the children.
- isNodeConstant(OgnlContext) - Method in class org.apache.commons.ognl.SimpleNode
-
Returns true iff this node is constant without respect to the children.
- isNodeSimpleProperty(OgnlContext) - Method in class org.apache.commons.ognl.ASTProperty
-
- isNodeSimpleProperty(OgnlContext) - Method in class org.apache.commons.ognl.SimpleNode
-
- isSetOperation() - Method in class org.apache.commons.ognl.Evaluation
-
Returns true if this Evaluation represents a set operation.
- isSimpleNavigationChain(OgnlContext) - Method in class org.apache.commons.ognl.ASTChain
-
- isSimpleNavigationChain(Object, Map) - Static method in class org.apache.commons.ognl.Ognl
-
- isSimpleNavigationChain(String, Map) - Static method in class org.apache.commons.ognl.Ognl
-
- isSimpleNavigationChain(Object) - Static method in class org.apache.commons.ognl.Ognl
-
- isSimpleNavigationChain(String) - Static method in class org.apache.commons.ognl.Ognl
-
- isSimpleNavigationChain(OgnlContext) - Method in class org.apache.commons.ognl.SimpleNode
-
- isSimpleProperty(Object, Map) - Static method in class org.apache.commons.ognl.Ognl
-
- isSimpleProperty(String, Map) - Static method in class org.apache.commons.ognl.Ognl
-
- isSimpleProperty(Object) - Static method in class org.apache.commons.ognl.Ognl
-
- isSimpleProperty(String) - Static method in class org.apache.commons.ognl.Ognl
-
- isSimpleProperty(OgnlContext) - Method in class org.apache.commons.ognl.SimpleNode
-
- isTypeCompatible(Object, Class) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
Tells whether the given object is compatible with the given class ---that is, whether the
given object can be passed as an argument to a method or constructor whose parameter type is
the given class.
- IteratorElementsAccessor - Class in org.apache.commons.ognl
-
Implementation of the ElementsAccessor interface for Iterators, which simply returns
the target iterator itself.
- IteratorElementsAccessor() - Constructor for class org.apache.commons.ognl.IteratorElementsAccessor
-
- IteratorEnumeration - Class in org.apache.commons.ognl
-
Maps an Iterator to an Enumeration
- IteratorEnumeration(Iterator) - Constructor for class org.apache.commons.ognl.IteratorEnumeration
-
- IteratorPropertyAccessor - Class in org.apache.commons.ognl
-
Implementation of PropertyAccessor that provides "property" reference to
"next" and "hasNext".
- IteratorPropertyAccessor() - Constructor for class org.apache.commons.ognl.IteratorPropertyAccessor
-
- ObjectArrayPool - Class in org.apache.commons.ognl
-
- ObjectArrayPool() - Constructor for class org.apache.commons.ognl.ObjectArrayPool
-
- ObjectArrayPool.SizePool - Class in org.apache.commons.ognl
-
- ObjectElementsAccessor - Class in org.apache.commons.ognl
-
Implementation of ElementsAccessor that returns a single-element iterator, containing
the original target object.
- ObjectElementsAccessor() - Constructor for class org.apache.commons.ognl.ObjectElementsAccessor
-
- ObjectIndexedPropertyDescriptor - Class in org.apache.commons.ognl
-
PropertyDescriptor subclass that describes an indexed set of read/write
methods to get a property.
- ObjectIndexedPropertyDescriptor(String, Class, Method, Method) - Constructor for class org.apache.commons.ognl.ObjectIndexedPropertyDescriptor
-
- ObjectMethodAccessor - Class in org.apache.commons.ognl
-
Implementation of PropertyAccessor that uses reflection on the target object's class to find a
field or a pair of set/get methods with the given property name.
- ObjectMethodAccessor() - Constructor for class org.apache.commons.ognl.ObjectMethodAccessor
-
- ObjectNullHandler - Class in org.apache.commons.ognl
-
Implementation of NullHandler that returns null in all cases,
so that NullPointerException will be thrown by the caller.
- ObjectNullHandler() - Constructor for class org.apache.commons.ognl.ObjectNullHandler
-
- ObjectPropertyAccessor - Class in org.apache.commons.ognl
-
Implementation of PropertyAccessor that uses reflection on the target object's class to find a
field or a pair of set/get methods with the given property name.
- ObjectPropertyAccessor() - Constructor for class org.apache.commons.ognl.ObjectPropertyAccessor
-
- Ognl - Class in org.apache.commons.ognl
-
This class provides static methods for parsing and interpreting OGNL expressions.
- OgnlContext - Class in org.apache.commons.ognl
-
This class defines the execution context for an OGNL expression
- OgnlContext() - Constructor for class org.apache.commons.ognl.OgnlContext
-
Constructs a new OgnlContext with the default class resolver, type converter and member
access.
- OgnlContext(ClassResolver, TypeConverter, MemberAccess) - Constructor for class org.apache.commons.ognl.OgnlContext
-
Constructs a new OgnlContext with the given class resolver, type converter and member access.
- OgnlContext(Map) - Constructor for class org.apache.commons.ognl.OgnlContext
-
- OgnlContext(ClassResolver, TypeConverter, MemberAccess, Map) - Constructor for class org.apache.commons.ognl.OgnlContext
-
- OgnlException - Exception in org.apache.commons.ognl
-
Superclass for OGNL exceptions, incorporating an optional encapsulated exception.
- OgnlException() - Constructor for exception org.apache.commons.ognl.OgnlException
-
Constructs an OgnlException with no message or encapsulated exception.
- OgnlException(String) - Constructor for exception org.apache.commons.ognl.OgnlException
-
Constructs an OgnlException with the given message but no encapsulated exception.
- OgnlException(String, Throwable) - Constructor for exception org.apache.commons.ognl.OgnlException
-
Constructs an OgnlException with the given message and encapsulated exception.
- OgnlExpressionCompiler - Interface in org.apache.commons.ognl.enhance
-
Core interface implemented by expression compiler instances.
- OgnlInvokePermission - Class in org.apache.commons.ognl
-
BasicPermission subclass that defines a permission token for invoking
methods within OGNL.
- OgnlInvokePermission(String) - Constructor for class org.apache.commons.ognl.OgnlInvokePermission
-
- OgnlInvokePermission(String, String) - Constructor for class org.apache.commons.ognl.OgnlInvokePermission
-
- OgnlOps - Class in org.apache.commons.ognl
-
This is an abstract class with static methods that define the operations of OGNL.
- OgnlOps() - Constructor for class org.apache.commons.ognl.OgnlOps
-
- OgnlParser - Class in org.apache.commons.ognl
-
OgnlParser is a JavaCC parser class; it translates OGNL expressions into abstract
syntax trees (ASTs) that can then be interpreted by the getValue and setValue methods.
- OgnlParser(InputStream) - Constructor for class org.apache.commons.ognl.OgnlParser
-
Constructor with InputStream.
- OgnlParser(InputStream, String) - Constructor for class org.apache.commons.ognl.OgnlParser
-
Constructor with InputStream and supplied encoding
- OgnlParser(Reader) - Constructor for class org.apache.commons.ognl.OgnlParser
-
Constructor.
- OgnlParser(OgnlParserTokenManager) - Constructor for class org.apache.commons.ognl.OgnlParser
-
Constructor with generated Token Manager.
- OgnlParserConstants - Interface in org.apache.commons.ognl
-
Token literal values and constants.
- OgnlParserTokenManager - Class in org.apache.commons.ognl
-
Token Manager.
- OgnlParserTokenManager(JavaCharStream) - Constructor for class org.apache.commons.ognl.OgnlParserTokenManager
-
Constructor.
- OgnlParserTokenManager(JavaCharStream, int) - Constructor for class org.apache.commons.ognl.OgnlParserTokenManager
-
Constructor.
- OgnlParserTreeConstants - Interface in org.apache.commons.ognl
-
- OgnlRuntime - Class in org.apache.commons.ognl
-
Utility class used by internal OGNL API to do various things like:
Handles majority of reflection logic / caching.
- OgnlRuntime() - Constructor for class org.apache.commons.ognl.OgnlRuntime
-
- openNodeScope(Node) - Method in class org.apache.commons.ognl.JJTOgnlParserState
-
- OrderedReturn - Interface in org.apache.commons.ognl.enhance
-
Marks an ognl expression
Node
as needing to have the return portion of a
getter method happen in a specific part of the generated expression vs just having
the whole expression returned in one chunk.
- org.apache.commons.ognl - package org.apache.commons.ognl
-
OGNL stands for Object-Graph Navigation Language; it is an expression language
for getting and setting properties of Java objects.
- org.apache.commons.ognl.enhance - package org.apache.commons.ognl.enhance
-
- org.apache.commons.ognl.internal - package org.apache.commons.ognl.internal
-
- selectAll() - Method in class org.apache.commons.ognl.OgnlParser
-
Apply a boolean expression to all elements of a collection, creating a new collection
containing those elements for which the expression returned true.
- selectFirst() - Method in class org.apache.commons.ognl.OgnlParser
-
Apply a boolean expression to all elements of a collection, creating a new collection
containing those elements for the first element for which the expression returned true.
- selection() - Method in class org.apache.commons.ognl.OgnlParser
-
- selectLast() - Method in class org.apache.commons.ognl.OgnlParser
-
Apply a boolean expression to all elements of a collection, creating a new collection
containing those elements for the first element for which the expression returned true.
- set(OgnlContext, Object, Object) - Method in interface org.apache.commons.ognl.enhance.ExpressionAccessor
-
Sets the value represented by this expression path, if possible.
- setAccessor(ExpressionAccessor) - Method in interface org.apache.commons.ognl.Node
-
Sets a new compiled accessor for this node expression.
- setAccessor(ExpressionAccessor) - Method in class org.apache.commons.ognl.SimpleNode
-
- setAllowPackageProtectedAccess(boolean) - Method in class org.apache.commons.ognl.DefaultMemberAccess
-
- setAllowPrivateAccess(boolean) - Method in class org.apache.commons.ognl.DefaultMemberAccess
-
- setAllowProtectedAccess(boolean) - Method in class org.apache.commons.ognl.DefaultMemberAccess
-
- setClassCacheInspector(ClassCacheInspector) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- setClassInspector(ClassCacheInspector) - Method in interface org.apache.commons.ognl.internal.ClassCache
-
- setClassInspector(ClassCacheInspector) - Method in class org.apache.commons.ognl.internal.ClassCacheImpl
-
- setClassResolver(Map, ClassResolver) - Static method in class org.apache.commons.ognl.Ognl
-
- setClassResolver(ClassResolver) - Method in class org.apache.commons.ognl.OgnlContext
-
- setCompiler(OgnlExpressionCompiler) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- setCurrentAccessor(Class) - Method in class org.apache.commons.ognl.OgnlContext
-
- setCurrentEvaluation(Evaluation) - Method in class org.apache.commons.ognl.OgnlContext
-
- setCurrentNode(Node) - Method in class org.apache.commons.ognl.OgnlContext
-
- setCurrentObject(Object) - Method in class org.apache.commons.ognl.OgnlContext
-
- setCurrentType(Class) - Method in class org.apache.commons.ognl.OgnlContext
-
- setDebugStream(PrintStream) - Method in class org.apache.commons.ognl.OgnlParserTokenManager
-
Set debug output.
- setElementsAccessor(Class, ElementsAccessor) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- setEvaluation(Evaluation) - Method in exception org.apache.commons.ognl.OgnlException
-
Sets the Evaluation that was current when this exception was thrown.
- setException(Throwable) - Method in class org.apache.commons.ognl.Evaluation
-
Sets the exception that occurred as a result of evaluating the
Evaluation.
- setExpression(Node) - Method in interface org.apache.commons.ognl.enhance.ExpressionAccessor
-
Used to set the original root expression node on instances where the compiled version
has to fall back to interpreted syntax because of compilation failures.
- setFieldValue(OgnlContext, Object, String, Object) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- setIndexedAccess(boolean) - Method in class org.apache.commons.ognl.ASTProperty
-
- setIndexedProperty(OgnlContext, Object, String, Object, Object) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- setKeepLastEvaluation(boolean) - Method in class org.apache.commons.ognl.OgnlContext
-
Sets whether the last evaluation that was done on this context is retained and available
through getLastEvaluation()
.
- setLastEvaluation(Evaluation) - Method in class org.apache.commons.ognl.OgnlContext
-
- setMemberAccess(Map, MemberAccess) - Static method in class org.apache.commons.ognl.Ognl
-
Configures the specified context with a
MemberAccess
instance for
handling field/method protection levels.
- setMemberAccess(MemberAccess) - Method in class org.apache.commons.ognl.OgnlContext
-
- setMethodAccessor(Class, MethodAccessor) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- setMethodName(String) - Method in class org.apache.commons.ognl.ASTMethod
-
Called from parser action.
- setMethodValue(OgnlContext, Object, String, Object) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- setMethodValue(OgnlContext, Object, String, Object, boolean) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- setNode(SimpleNode) - Method in class org.apache.commons.ognl.Evaluation
-
Sets the node of the evaluation.
- setNullHandler(Class, NullHandler) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- setPossibleProperty(Map, Object, String, Object) - Method in class org.apache.commons.ognl.ObjectPropertyAccessor
-
Returns OgnlRuntime.NotFound if the property does not exist.
- setPreviousType(Class) - Method in class org.apache.commons.ognl.OgnlContext
-
- setProperty(Map, Object, Object, Object) - Method in class org.apache.commons.ognl.ArrayPropertyAccessor
-
- setProperty(Map, Object, Object, Object) - Method in class org.apache.commons.ognl.EnumerationPropertyAccessor
-
- setProperty(Map, Object, Object, Object) - Method in class org.apache.commons.ognl.IteratorPropertyAccessor
-
- setProperty(Map, Object, Object, Object) - Method in class org.apache.commons.ognl.ListPropertyAccessor
-
- setProperty(Map, Object, Object, Object) - Method in class org.apache.commons.ognl.MapPropertyAccessor
-
- setProperty(Map, Object, Object, Object) - Method in class org.apache.commons.ognl.ObjectPropertyAccessor
-
- setProperty(OgnlContext, Object, Object, Object) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- setProperty(Map, Object, Object, Object) - Method in interface org.apache.commons.ognl.PropertyAccessor
-
Sets the value of the property of the given name in the given target object.
- setPropertyAccessor(Class, PropertyAccessor) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- SetPropertyAccessor - Class in org.apache.commons.ognl
-
Implementation of PropertyAccessor that uses numbers and dynamic subscripts as
properties to index into Lists.
- SetPropertyAccessor() - Constructor for class org.apache.commons.ognl.SetPropertyAccessor
-
- setResult(Object) - Method in class org.apache.commons.ognl.Evaluation
-
Sets the result of the Evaluation.
- setRoot(Map, Object) - Static method in class org.apache.commons.ognl.Ognl
-
Sets the root object to use for all expressions in the given context - doesn't necessarily replace
root object instances explicitly passed in to other expression resolving methods on this class.
- setRoot(Object) - Method in class org.apache.commons.ognl.OgnlContext
-
- setRootEvaluation(Evaluation) - Method in class org.apache.commons.ognl.OgnlContext
-
- setSecurityManager(SecurityManager) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
Sets the SecurityManager that OGNL uses to determine permissions for invoking methods.
- setSetOperation(boolean) - Method in class org.apache.commons.ognl.Evaluation
-
Marks the Evaluation as a set operation if the value is true, else
marks it as a get operation.
- setSource(Object) - Method in class org.apache.commons.ognl.Evaluation
-
Sets the source of the evaluation.
- setTabSize(int) - Method in class org.apache.commons.ognl.JavaCharStream
-
- setTraceEvaluations(boolean) - Method in class org.apache.commons.ognl.OgnlContext
-
- setTypeConverter(Map, TypeConverter) - Static method in class org.apache.commons.ognl.Ognl
-
Configures the type converter to use for a given context.
- setTypeConverter(TypeConverter) - Method in class org.apache.commons.ognl.OgnlContext
-
- setup(Map, Object, Member, String) - Method in class org.apache.commons.ognl.DefaultMemberAccess
-
- setup(Map, Object, Member, String) - Method in interface org.apache.commons.ognl.MemberAccess
-
Sets the member up for accessibility
- setValue(Object) - Method in class org.apache.commons.ognl.ASTConst
-
Called from parser actions.
- setValue(OgnlContext, Object, Object) - Method in interface org.apache.commons.ognl.Node
-
Sets the given value in the given target as appropriate for this node within the
given context.
- setValue(Object, Map, Object, Object) - Static method in class org.apache.commons.ognl.Ognl
-
Evaluates the given OGNL expression tree to insert a value into the object graph rooted at
the given root object.
- setValue(ExpressionAccessor, OgnlContext, Object, Object) - Static method in class org.apache.commons.ognl.Ognl
-
Sets the value given using the pre-compiled expression on the specified root
object.
- setValue(String, Map, Object, Object) - Static method in class org.apache.commons.ognl.Ognl
-
Evaluates the given OGNL expression to insert a value into the object graph rooted at the
given root object given the context.
- setValue(Object, Object, Object) - Static method in class org.apache.commons.ognl.Ognl
-
Evaluates the given OGNL expression tree to insert a value into the object graph rooted at
the given root object.
- setValue(String, Object, Object) - Static method in class org.apache.commons.ognl.Ognl
-
Convenience method that combines calls to parseExpression
and
setValue
.
- setValue(OgnlContext, Object, Object) - Method in class org.apache.commons.ognl.SimpleNode
-
- setValueBody(OgnlContext, Object, Object) - Method in class org.apache.commons.ognl.ASTAnd
-
- setValueBody(OgnlContext, Object, Object) - Method in class org.apache.commons.ognl.ASTChain
-
- setValueBody(OgnlContext, Object, Object) - Method in class org.apache.commons.ognl.ASTOr
-
- setValueBody(OgnlContext, Object, Object) - Method in class org.apache.commons.ognl.ASTProperty
-
- setValueBody(OgnlContext, Object, Object) - Method in class org.apache.commons.ognl.ASTRootVarRef
-
- setValueBody(OgnlContext, Object, Object) - Method in class org.apache.commons.ognl.ASTSequence
-
- setValueBody(OgnlContext, Object, Object) - Method in class org.apache.commons.ognl.ASTThisVarRef
-
- setValueBody(OgnlContext, Object, Object) - Method in class org.apache.commons.ognl.ASTVarRef
-
- setValueBody(OgnlContext, Object, Object) - Method in class org.apache.commons.ognl.SimpleNode
-
Subclasses implement this method to do the actual work of setting the appropriate value in the target object.
- setValues(Map) - Method in class org.apache.commons.ognl.OgnlContext
-
- shiftExpression() - Method in class org.apache.commons.ognl.OgnlParser
-
- shiftLeft(Object, Object) - Static method in class org.apache.commons.ognl.OgnlOps
-
- shiftRight(Object, Object) - Static method in class org.apache.commons.ognl.OgnlOps
-
- SHORT - Static variable in interface org.apache.commons.ognl.NumericTypes
-
Type tag meaning short.
- shouldCache(Class) - Method in interface org.apache.commons.ognl.ClassCacheInspector
-
Invoked just before storing a class type within a cache instance.
- shouldCast(Node) - Static method in class org.apache.commons.ognl.enhance.ExpressionCompiler
-
- shouldConvertNumericTypes(OgnlContext) - Static method in class org.apache.commons.ognl.OgnlRuntime
-
- SimpleNode - Class in org.apache.commons.ognl
-
- SimpleNode(int) - Constructor for class org.apache.commons.ognl.SimpleNode
-
- SimpleNode(OgnlParser, int) - Constructor for class org.apache.commons.ognl.SimpleNode
-
- size() - Method in class org.apache.commons.ognl.IntHashMap
-
- size() - Method in class org.apache.commons.ognl.OgnlContext
-
- SizePool(int) - Constructor for class org.apache.commons.ognl.ObjectArrayPool.SizePool
-
- SizePool(int, int) - Constructor for class org.apache.commons.ognl.ObjectArrayPool.SizePool
-
- specialConstructor - Variable in exception org.apache.commons.ognl.ParseException
-
This variable determines which constructor was used to create
this object and thereby affects the semantics of the
"getMessage" method (see below).
- specialToken - Variable in class org.apache.commons.ognl.Token
-
This field is used to access special tokens that occur prior to this
token, but after the immediately preceding regular (non-special) token.
- staticFlag - Static variable in class org.apache.commons.ognl.JavaCharStream
-
Whether parser is static.
- staticMethodCall(String) - Method in class org.apache.commons.ognl.OgnlParser
-
- staticReference() - Method in class org.apache.commons.ognl.OgnlParser
-
- STRING_ESC - Static variable in interface org.apache.commons.ognl.OgnlParserConstants
-
RegularExpression Id.
- STRING_LITERAL - Static variable in interface org.apache.commons.ognl.OgnlParserConstants
-
RegularExpression Id.
- stringValue(Object, boolean) - Static method in class org.apache.commons.ognl.OgnlOps
-
Evaluates the given object as a String and trims it if the trim flag is true.
- stringValue(Object) - Static method in class org.apache.commons.ognl.OgnlOps
-
Evaluates the given object as a String.
- subtract(Object, Object) - Static method in class org.apache.commons.ognl.OgnlOps
-
- SwitchTo(int) - Method in class org.apache.commons.ognl.OgnlParserTokenManager
-
Switch to specified lex state.