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