Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- add(Object, Object) - Static method in class ognl.OgnlOps
- addCastString(OgnlContext, String) - Static method in class ognl.enhance.ExpressionCompiler
-
Used by
ExpressionCompiler.castExpression(ognl.OgnlContext, ognl.Node, String)
to store the cast java source string in to the currentOgnlContext
. - addChild(Evaluation) - Method in class ognl.Evaluation
-
Adds a child to the list of children of this evaluation.
- addDefaultContext(Object, Map) - Static method in class ognl.Ognl
-
Appends the standard naming context for evaluating an OGNL expression into the context given so that cached maps can be used as a context.
- addDefaultContext(Object, ClassResolver, Map) - Static method in class ognl.Ognl
-
Appends the standard naming context for evaluating an OGNL expression into the context given so that cached maps can be used as a context.
- addDefaultContext(Object, ClassResolver, TypeConverter, Map) - Static method in class ognl.Ognl
-
Appends the standard naming context for evaluating an OGNL expression into the context given so that cached maps can be used as a context.
- addDefaultContext(Object, ClassResolver, TypeConverter, MemberAccess, Map) - Static method in class ognl.Ognl
-
Appends the standard naming context for evaluating an OGNL expression into the context given so that cached maps can be used as a context.
- addEscapes(String) - Static method in error ognl.TokenMgrError
-
Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string
- additiveExpression() - Method in class ognl.OgnlParser
- addLocalReference(String, LocalReference) - Method in class ognl.OgnlContext
- adjustBeginLineColumn(int, int) - Method in class ognl.JavaCharStream
-
Method to adjust line and column numbers for the start of a token.
- AdjustBuffSize() - Method in class ognl.JavaCharStream
- all - Static variable in class ognl.DynamicSubscript
- ALL - Static variable in class ognl.DynamicSubscript
- allowPackageProtectedAccess - Variable in class ognl.DefaultMemberAccess
- allowPrivateAccess - Variable in class ognl.DefaultMemberAccess
- allowProtectedAccess - Variable in class ognl.DefaultMemberAccess
- andExpression() - Method in class ognl.OgnlParser
- areArgsCompatible(Object[], Class[]) - Static method in class ognl.OgnlRuntime
-
Tells whether the given array of objects is compatible with the given array of classes---that is, whether the given array of objects can be passed as arguments to a method or constructor whose parameter types are the given array of classes.
- areArgsCompatible(Object[], Class[], Method) - Static method in class ognl.OgnlRuntime
- ArrayElementsAccessor - Class in ognl
-
Implementation of ElementsAccessor that returns an iterator over a Java array.
- ArrayElementsAccessor() - Constructor for class ognl.ArrayElementsAccessor
- ArrayPropertyAccessor - Class in ognl
-
Implementation of PropertyAccessor that uses numbers and dynamic subscripts as properties to index into Java arrays.
- ArrayPropertyAccessor() - Constructor for class ognl.ArrayPropertyAccessor
- assignmentExpression() - Method in class ognl.OgnlParser
- ASTAnd - Class in ognl
- ASTAnd(int) - Constructor for class ognl.ASTAnd
- ASTAnd(OgnlParser, int) - Constructor for class ognl.ASTAnd
- ASTChain - Class in ognl
- ASTChain(int) - Constructor for class ognl.ASTChain
- ASTChain(OgnlParser, int) - Constructor for class ognl.ASTChain
- ASTConst - Class in ognl
- ASTConst(int) - Constructor for class ognl.ASTConst
- ASTConst(OgnlParser, int) - Constructor for class ognl.ASTConst
- ASTCtor - Class in ognl
- ASTCtor(int) - Constructor for class ognl.ASTCtor
- ASTCtor(OgnlParser, int) - Constructor for class ognl.ASTCtor
- ASTInstanceof - Class in ognl
- ASTInstanceof(int) - Constructor for class ognl.ASTInstanceof
- ASTInstanceof(OgnlParser, int) - Constructor for class ognl.ASTInstanceof
- ASTList - Class in ognl
- ASTList(int) - Constructor for class ognl.ASTList
- ASTList(OgnlParser, int) - Constructor for class ognl.ASTList
- ASTMethod - Class in ognl
- ASTMethod(int) - Constructor for class ognl.ASTMethod
- ASTMethod(OgnlParser, int) - Constructor for class ognl.ASTMethod
- ASTOr - Class in ognl
- ASTOr(int) - Constructor for class ognl.ASTOr
- ASTOr(OgnlParser, int) - Constructor for class ognl.ASTOr
- ASTProperty - Class in ognl
- ASTProperty(int) - Constructor for class ognl.ASTProperty
- ASTRootVarRef - Class in ognl
- ASTRootVarRef(int) - Constructor for class ognl.ASTRootVarRef
- ASTRootVarRef(OgnlParser, int) - Constructor for class ognl.ASTRootVarRef
- ASTSequence - Class in ognl
- ASTSequence(int) - Constructor for class ognl.ASTSequence
- ASTSequence(OgnlParser, int) - Constructor for class ognl.ASTSequence
- ASTStaticField - Class in ognl
- ASTStaticField(int) - Constructor for class ognl.ASTStaticField
- ASTStaticField(OgnlParser, int) - Constructor for class ognl.ASTStaticField
- ASTStaticMethod - Class in ognl
- ASTStaticMethod(int) - Constructor for class ognl.ASTStaticMethod
- ASTStaticMethod(OgnlParser, int) - Constructor for class ognl.ASTStaticMethod
- ASTThisVarRef - Class in ognl
- ASTThisVarRef(int) - Constructor for class ognl.ASTThisVarRef
- ASTThisVarRef(OgnlParser, int) - Constructor for class ognl.ASTThisVarRef
- ASTVarRef - Class in ognl
- ASTVarRef(int) - Constructor for class ognl.ASTVarRef
- ASTVarRef(OgnlParser, int) - Constructor for class ognl.ASTVarRef
B
- BACK_CHAR_ESC - Static variable in interface ognl.OgnlParserConstants
-
RegularExpression Id.
- BACK_CHAR_LITERAL - Static variable in interface ognl.OgnlParserConstants
-
RegularExpression Id.
- backup(int) - Method in class ognl.JavaCharStream
-
Retreat.
- beginColumn - Variable in class ognl.Token
-
The column number of the first character of this Token.
- beginLine - Variable in class ognl.Token
-
The line number of the first character of this Token.
- BeginToken() - Method in class ognl.JavaCharStream
- BIGDEC - Static variable in interface ognl.NumericTypes
-
Type tag meaning java.math.BigDecimal.
- bigDecValue(Object) - Static method in class ognl.OgnlOps
-
Evaluates the given object as a BigDecimal.
- BIGINT - Static variable in interface ognl.NumericTypes
-
Type tag meaning java.math.BigInteger.
- bigIntValue(Object) - Static method in class ognl.OgnlOps
-
Evaluates the given object as a BigInteger.
- binaryAnd(Object, Object) - Static method in class ognl.OgnlOps
- binaryOr(Object, Object) - Static method in class ognl.OgnlOps
- binaryXor(Object, Object) - Static method in class ognl.OgnlOps
- bitNegate(Object) - Static method in class ognl.OgnlOps
- BOOL - Static variable in interface ognl.NumericTypes
-
Type tag meaning boolean.
- BooleanExpression - Class in ognl
-
Base class for boolean expressions.
- BooleanExpression(int) - Constructor for class ognl.BooleanExpression
- BooleanExpression(OgnlParser, int) - Constructor for class ognl.BooleanExpression
- booleanValue(boolean) - Static method in class ognl.OgnlOps
- booleanValue(double) - Static method in class ognl.OgnlOps
- booleanValue(float) - Static method in class ognl.OgnlOps
- booleanValue(int) - Static method in class ognl.OgnlOps
- booleanValue(long) - Static method in class ognl.OgnlOps
- booleanValue(Object) - Static method in class ognl.OgnlOps
-
Evaluates the given object as a boolean: if it is a Boolean object, it's easy; if it's a Number or a Character, returns true for non-zero objects; and otherwise returns true for non-null objects.
- bufcolumn - Variable in class ognl.JavaCharStream
- buffer - Variable in class ognl.JavaCharStream
- bufline - Variable in class ognl.JavaCharStream
- bufpos - Variable in class ognl.JavaCharStream
- BYTE - Static variable in interface ognl.NumericTypes
-
Type tag meaning byte.
C
- 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
wherefoo.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
-
Implementation of
ClassCache
. - ClassCacheImpl() - Constructor for class ognl.internal.ClassCacheImpl
- ClassCacheInspector - Interface in ognl
-
Optional interface that may be registered with
OgnlRuntime.setClassCacheInspector(ClassCacheInspector)
as a means to disallow caching of specific class types. - 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
-
Parses and compiles the given expression using the
OgnlExpressionCompiler
returned fromOgnlRuntime.getCompiler()
. - 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
-
Helper utility method used by compiler to help resolve class->method mappings during method calls to
OgnlExpressionCompiler.getSuperOrInterfaceClass(java.lang.reflect.Method, Class)
. - 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.
D
- debugStream - Variable in class ognl.OgnlParserTokenManager
-
Debug output.
- DEC_DIGITS - Static variable in interface ognl.OgnlParserConstants
-
RegularExpression Id.
- DEC_FLT - Static variable in interface ognl.OgnlParserConstants
-
RegularExpression Id.
- DEFAULT - Static variable in interface ognl.OgnlParserConstants
-
Lexical state.
- DEFAULT_CLASS_RESOLVER - Static variable in class ognl.OgnlContext
- DEFAULT_MEMBER_ACCESS - Static variable in class ognl.OgnlContext
- DEFAULT_TYPE_CONVERTER - Static variable in class ognl.OgnlContext
- DefaultClassResolver - Class in ognl
-
Default class resolution.
- DefaultClassResolver() - Constructor for class ognl.DefaultClassResolver
- DefaultMemberAccess - Class in ognl
-
This class provides methods for setting up and restoring access in a Field.
- DefaultMemberAccess(boolean) - Constructor for class ognl.DefaultMemberAccess
- DefaultMemberAccess(boolean, boolean, boolean) - Constructor for class ognl.DefaultMemberAccess
- DefaultTypeConverter - Class in ognl
-
Default type conversion.
- DefaultTypeConverter() - Constructor for class ognl.DefaultTypeConverter
- defineClass(String, byte[]) - Method in class ognl.enhance.EnhancedClassLoader
- DIGIT - Static variable in interface ognl.OgnlParserConstants
-
RegularExpression Id.
- disable_tracing() - Method in class ognl.OgnlParser
-
Disable tracing.
- divide(Object, Object) - Static method in class ognl.OgnlOps
- Done() - Method in class ognl.JavaCharStream
-
Set buffers back to null when finished.
- DOUBLE - Static variable in interface ognl.NumericTypes
-
Type tag meaning double.
- doubleValue(Object) - Static method in class ognl.OgnlOps
-
Evaluates the given object as a double-precision floating-point number.
- dump(PrintWriter, String) - Method in class ognl.SimpleNode
- DYNAMIC_SUBSCRIPT - Static variable in interface ognl.OgnlParserConstants
-
RegularExpression Id.
- DynamicSubscript - Class in ognl
-
This class has predefined instances that stand for OGNL's special "dynamic subscripts" for getting at the first, middle, or last elements of a list.
E
- ElementsAccessor - Interface in ognl
-
This interface defines a method for getting the "elements" of an object, which means any objects that naturally would be considered to be contained by the object.
- enable_tracing() - Method in class ognl.OgnlParser
-
Enable tracing.
- endColumn - Variable in class ognl.Token
-
The column number of the last character of this Token.
- endLine - Variable in class ognl.Token
-
The line number of the last character of this Token.
- EnhancedClassLoader - Class in ognl.enhance
- EnhancedClassLoader(ClassLoader) - Constructor for class ognl.enhance.EnhancedClassLoader
- Entry() - Constructor for class ognl.IntHashMap.Entry
- entrySet() - Method in class ognl.IntHashMap
- entrySet() - Method in class ognl.OgnlContext
- EnumerationElementsAccessor - Class in ognl
-
Implementation of the ElementsAccessor interface for Enumerations, which returns an iterator that passes its calls through to the target Enumeration.
- EnumerationElementsAccessor() - Constructor for class ognl.EnumerationElementsAccessor
- EnumerationIterator - Class in ognl
-
Object that implements Iterator from an Enumeration
- EnumerationIterator(Enumeration) - Constructor for class ognl.EnumerationIterator
- EnumerationPropertyAccessor - Class in ognl
-
Implementation of PropertyAccessor that provides "property" reference to "nextElement" (aliases to "next" also) and "hasMoreElements" (also aliased to "hasNext").
- EnumerationPropertyAccessor() - Constructor for class ognl.EnumerationPropertyAccessor
- EOF - Static variable in interface ognl.OgnlParserConstants
-
End of File.
- EOL - Static variable in exception ognl.ParseException
-
The end of line string for this machine.
- equal(Object, Object) - Static method in class ognl.OgnlOps
- equalityExpression() - Method in class ognl.OgnlParser
- equals(Object) - Method in class ognl.enhance.LocalReferenceImpl
- equals(Object) - Method in class ognl.OgnlContext
- ESC - Static variable in interface ognl.OgnlParserConstants
-
RegularExpression Id.
- evaluateGetValueBody(OgnlContext, Object) - Method in class ognl.SimpleNode
- evaluateSetValueBody(OgnlContext, Object, Object) - Method in class ognl.SimpleNode
- Evaluation - Class in ognl
-
An
Evaluation
is and object that holds a node being evaluated and the source from which that node will take extract its value. - Evaluation(SimpleNode, Object) - Constructor for class ognl.Evaluation
-
Constructs a new "get"
Evaluation
from the node and source given. - Evaluation(SimpleNode, Object, boolean) - Constructor for class ognl.Evaluation
-
Constructs a new
Evaluation
from the node and source given. - EvaluationPool - Class in ognl
- EvaluationPool() - Constructor for class ognl.EvaluationPool
- EvaluationPool(int) - Constructor for class ognl.EvaluationPool
- exclusiveOrExpression() - Method in class ognl.OgnlParser
- ExpandBuff(boolean) - Method in class ognl.JavaCharStream
- expectedTokenSequences - Variable in exception ognl.ParseException
-
Each entry in this array is an array of integers.
- EXPONENT - Static variable in interface ognl.OgnlParserConstants
-
RegularExpression Id.
- expression() - Method in class ognl.OgnlParser
- ExpressionAccessor - Interface in ognl.enhance
-
Provides pure java expression paths to get/set values from an ognl expression.
- ExpressionCompiler - Class in ognl.enhance
-
Responsible for managing/providing functionality related to compiling generated java source expressions via bytecode enhancements for a given ognl expression.
- ExpressionCompiler() - Constructor for class ognl.enhance.ExpressionCompiler
-
Default constructor, does nothing.
- ExpressionNode - Class in ognl
- ExpressionNode(int) - Constructor for class ognl.ExpressionNode
- ExpressionNode(OgnlParser, int) - Constructor for class ognl.ExpressionNode
- ExpressionSyntaxException - Exception in ognl
-
Exception thrown if a malformed OGNL expression is encountered.
- ExpressionSyntaxException(String, Throwable) - Constructor for exception ognl.ExpressionSyntaxException
F
- FillBuff() - Method in class ognl.JavaCharStream
- findClass(String) - Method in class ognl.enhance.ContextClassLoader
- findParameterTypes(Class, Method) - Static method in class ognl.OgnlRuntime
- first - Static variable in class ognl.DynamicSubscript
- FIRST - Static variable in class ognl.DynamicSubscript
- flattenTree() - Method in class ognl.SimpleNode
-
This method may be called from subclasses' jjtClose methods.
- FLOAT - Static variable in interface ognl.NumericTypes
-
Type tag meaning float.
- FLT_LITERAL - Static variable in interface ognl.OgnlParserConstants
-
RegularExpression Id.
- FLT_SUFF - Static variable in interface ognl.OgnlParserConstants
-
RegularExpression Id.
G
- 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
-
Get the beginning column.
- 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
-
Attempts to get the java source string represented by the specific child expression via the
JavaSource.toGetSourceString(OgnlContext,Object)
interface method. - getChildSource(OgnlContext, Object, Node, boolean) - Static method in class ognl.OgnlRuntime
-
Attempts to get the java source string represented by the specific child expression via the
JavaSource.toGetSourceString(OgnlContext,Object)
interface method. - 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
-
Gets the current class type being evaluated on the stack, as set by
OgnlContext.setCurrentType(Class)
. - 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
-
Get the token timage.
- 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
-
Used in places where the preferred
OgnlExpressionCompiler.getSuperOrInterfaceClass(java.lang.reflect.Method, Class)
isn't possible because the method isn't known for a class. - 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 thisEvaluation
- 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.<declaring-class>.<method-name>".
- 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
-
Represents the last known object type on the evaluation stack, will be the value of the last known
OgnlContext.getCurrentType()
. - 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
-
Get the suffix as an array of characters.
- 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() - 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
andgetValue
. - getValue(String, Object, Class) - Static method in class ognl.Ognl
-
Convenience method that combines calls to
parseExpression
andgetValue
. - 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
H
- hasField(OgnlContext, Object, Class, String) - Static method in class ognl.OgnlRuntime
- hasGetMethod(OgnlContext, Object, Class, String) - Static method in class ognl.OgnlRuntime
- hasGetProperty(Map, Object, Object) - Method in class ognl.ObjectPropertyAccessor
- hasGetProperty(OgnlContext, Object, Object) - Method in class ognl.ObjectPropertyAccessor
- hasGetProperty(OgnlContext, Object, Object) - Static method in class ognl.OgnlRuntime
- hashCode() - Method in class ognl.enhance.LocalReferenceImpl
- hashCode() - Method in class ognl.OgnlContext
- hasMoreElements() - Method in class ognl.IteratorEnumeration
- hasNext() - Method in class ognl.EnumerationIterator
- hasSetMethod(OgnlContext, Object, Class, String) - Static method in class ognl.OgnlRuntime
- hasSetProperty(Map, Object, Object) - Method in class ognl.ObjectPropertyAccessor
- hasSetProperty(OgnlContext, Object, Object) - Method in class ognl.ObjectPropertyAccessor
- hasSetProperty(OgnlContext, Object, Object) - Static method in class ognl.OgnlRuntime
I
- 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
- INVALID_LEXICAL_STATE - Static variable in error ognl.TokenMgrError
-
Tried to change to an invalid lexical state.
- 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
-
Same as
Ognl.isConstant(Object, java.util.Map)
- only theMap
context is created for you. - 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
-
Same as
Ognl.isConstant(String, java.util.Map)
- only theMap
instance is created for you. - 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
J
- JavaCharStream - Class in ognl
-
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (with java-like unicode escape processing).
- JavaCharStream(InputStream) - Constructor for class ognl.JavaCharStream
-
Constructor.
- JavaCharStream(InputStream, int, int) - Constructor for class ognl.JavaCharStream
-
Constructor.
- JavaCharStream(InputStream, int, int, int) - Constructor for class ognl.JavaCharStream
-
Constructor.
- JavaCharStream(InputStream, String) - Constructor for class ognl.JavaCharStream
-
Constructor.
- JavaCharStream(InputStream, String, int, int) - Constructor for class ognl.JavaCharStream
-
Constructor.
- JavaCharStream(InputStream, String, int, int, int) - Constructor for class ognl.JavaCharStream
-
Constructor.
- JavaCharStream(Reader) - Constructor for class ognl.JavaCharStream
-
Constructor.
- JavaCharStream(Reader, int, int) - Constructor for class ognl.JavaCharStream
-
Constructor.
- JavaCharStream(Reader, int, int, int) - Constructor for class ognl.JavaCharStream
-
Constructor.
- JavaSource - Interface in ognl
-
Defines an object that can return a representation of itself and any objects it contains in the form of a
String
embedded with literal java statements. - jj_nt - Variable in class ognl.OgnlParser
-
Next token.
- jjFillToken() - Method in class ognl.OgnlParserTokenManager
- jjnewLexState - Static variable in class ognl.OgnlParserTokenManager
-
Lex State array.
- jjstrLiteralImages - Static variable in class ognl.OgnlParserTokenManager
-
Token literal values.
- JJTADD - Static variable in interface ognl.OgnlParserTreeConstants
- jjtAddChild(Node, int) - Method in interface ognl.Node
-
This method tells the node to add its argument to the node's list of children.
- jjtAddChild(Node, int) - Method in class ognl.SimpleNode
- JJTAND - Static variable in interface ognl.OgnlParserTreeConstants
- JJTASSIGN - Static variable in interface ognl.OgnlParserTreeConstants
- JJTBITAND - Static variable in interface ognl.OgnlParserTreeConstants
- JJTBITNEGATE - Static variable in interface ognl.OgnlParserTreeConstants
- JJTBITOR - Static variable in interface ognl.OgnlParserTreeConstants
- JJTCHAIN - Static variable in interface ognl.OgnlParserTreeConstants
- jjtClose() - Method in class ognl.ASTAnd
- jjtClose() - Method in class ognl.ASTChain
- jjtClose() - Method in class ognl.ASTOr
- jjtClose() - Method in class ognl.ASTSequence
- jjtClose() - Method in interface ognl.Node
-
This method is called after all the child nodes have been added.
- jjtClose() - Method in class ognl.SimpleNode
- JJTCONST - Static variable in interface ognl.OgnlParserTreeConstants
- JJTCTOR - Static variable in interface ognl.OgnlParserTreeConstants
- JJTDIVIDE - Static variable in interface ognl.OgnlParserTreeConstants
- JJTEQ - Static variable in interface ognl.OgnlParserTreeConstants
- JJTEVAL - Static variable in interface ognl.OgnlParserTreeConstants
- jjtGetChild(int) - Method in interface ognl.Node
-
This method returns a child node.
- jjtGetChild(int) - Method in class ognl.SimpleNode
- jjtGetNumChildren() - Method in interface ognl.Node
-
Return the number of children the node has.
- jjtGetNumChildren() - Method in class ognl.SimpleNode
- jjtGetParent() - Method in interface ognl.Node
- jjtGetParent() - Method in class ognl.SimpleNode
- JJTGREATER - Static variable in interface ognl.OgnlParserTreeConstants
- JJTGREATEREQ - Static variable in interface ognl.OgnlParserTreeConstants
- JJTIN - Static variable in interface ognl.OgnlParserTreeConstants
- JJTINSTANCEOF - Static variable in interface ognl.OgnlParserTreeConstants
- JJTKEYVALUE - Static variable in interface ognl.OgnlParserTreeConstants
- JJTLESS - Static variable in interface ognl.OgnlParserTreeConstants
- JJTLESSEQ - Static variable in interface ognl.OgnlParserTreeConstants
- JJTLIST - Static variable in interface ognl.OgnlParserTreeConstants
- JJTMAP - Static variable in interface ognl.OgnlParserTreeConstants
- JJTMETHOD - Static variable in interface ognl.OgnlParserTreeConstants
- JJTMULTIPLY - Static variable in interface ognl.OgnlParserTreeConstants
- JJTNEGATE - Static variable in interface ognl.OgnlParserTreeConstants
- jjtNodeName - Static variable in interface ognl.OgnlParserTreeConstants
- JJTNOT - Static variable in interface ognl.OgnlParserTreeConstants
- JJTNOTEQ - Static variable in interface ognl.OgnlParserTreeConstants
- JJTNOTIN - Static variable in interface ognl.OgnlParserTreeConstants
- JJTOgnlParserState - Class in ognl
- JJTOgnlParserState() - Constructor for class ognl.JJTOgnlParserState
- jjtOpen() - Method in interface ognl.Node
-
This method is called after the node has been made the current node.
- jjtOpen() - Method in class ognl.SimpleNode
- JJTOR - Static variable in interface ognl.OgnlParserTreeConstants
- JJTPROJECT - Static variable in interface ognl.OgnlParserTreeConstants
- JJTPROPERTY - Static variable in interface ognl.OgnlParserTreeConstants
- jjtree - Variable in class ognl.OgnlParser
- JJTREMAINDER - Static variable in interface ognl.OgnlParserTreeConstants
- JJTROOTVARREF - Static variable in interface ognl.OgnlParserTreeConstants
- JJTSELECT - Static variable in interface ognl.OgnlParserTreeConstants
- JJTSELECTFIRST - Static variable in interface ognl.OgnlParserTreeConstants
- JJTSELECTLAST - Static variable in interface ognl.OgnlParserTreeConstants
- JJTSEQUENCE - Static variable in interface ognl.OgnlParserTreeConstants
- jjtSetParent(Node) - Method in interface ognl.Node
-
This pair of methods are used to inform the node of its parent.
- jjtSetParent(Node) - Method in class ognl.SimpleNode
- JJTSHIFTLEFT - Static variable in interface ognl.OgnlParserTreeConstants
- JJTSHIFTRIGHT - Static variable in interface ognl.OgnlParserTreeConstants
- JJTSTATICFIELD - Static variable in interface ognl.OgnlParserTreeConstants
- JJTSTATICMETHOD - Static variable in interface ognl.OgnlParserTreeConstants
- JJTSUBTRACT - Static variable in interface ognl.OgnlParserTreeConstants
- JJTTEST - Static variable in interface ognl.OgnlParserTreeConstants
- JJTTHISVARREF - Static variable in interface ognl.OgnlParserTreeConstants
- JJTUNSIGNEDSHIFTRIGHT - Static variable in interface ognl.OgnlParserTreeConstants
- JJTVARREF - Static variable in interface ognl.OgnlParserTreeConstants
- JJTVOID - Static variable in interface ognl.OgnlParserTreeConstants
- JJTXOR - Static variable in interface ognl.OgnlParserTreeConstants
K
- KEEP_LAST_EVALUATION_CONTEXT_KEY - Static variable in class ognl.OgnlContext
- keySet() - Method in class ognl.IntHashMap
- keySet() - Method in class ognl.OgnlContext
- keyValueExpression() - Method in class ognl.OgnlParser
- kind - Variable in class ognl.Token
-
An integer that describes the kind of this token.
L
- last - Static variable in class ognl.DynamicSubscript
- LAST - Static variable in class ognl.DynamicSubscript
- LAST_EVALUATION_CONTEXT_KEY - Static variable in class ognl.OgnlContext
- lastChild(OgnlContext) - Method in class ognl.SimpleNode
- less(Object, Object) - Static method in class ognl.OgnlOps
- LETTER - Static variable in interface ognl.OgnlParserConstants
-
RegularExpression Id.
- LEXICAL_ERROR - Static variable in error ognl.TokenMgrError
-
Lexical error occurred.
- LexicalErr(boolean, int, int, int, String, int) - Static method in error ognl.TokenMgrError
-
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
- lexStateNames - Static variable in class ognl.OgnlParserTokenManager
-
Lexer state names.
- line - Variable in class ognl.JavaCharStream
- ListPropertyAccessor - Class in ognl
-
Implementation of PropertyAccessor that uses numbers and dynamic subscripts as properties to index into Lists.
- ListPropertyAccessor() - Constructor for class ognl.ListPropertyAccessor
- LocalReference - Interface in ognl.enhance
-
Container class for
OgnlExpressionCompiler
generated local method block references. - LocalReferenceImpl - Class in ognl.enhance
-
Implementation of
LocalReference
. - LocalReferenceImpl(String, String, Class) - Constructor for class ognl.enhance.LocalReferenceImpl
- logicalAndExpression() - Method in class ognl.OgnlParser
- logicalOrExpression() - Method in class ognl.OgnlParser
- LONG - Static variable in interface ognl.NumericTypes
-
Type tag meaning long.
- longValue(Object) - Static method in class ognl.OgnlOps
-
Evaluates the given object as a long integer.
- LOOP_DETECTED - Static variable in error ognl.TokenMgrError
-
Detected (and bailed out of) an infinite loop in the token manager.
M
- MapElementsAccessor - Class in ognl
-
Implementation of ElementsAccessor that returns an iterator over the map's values.
- MapElementsAccessor() - Constructor for class ognl.MapElementsAccessor
- MapPropertyAccessor - Class in ognl
-
Implementation of PropertyAccessor that sets and gets properties by storing and looking up values in Maps.
- MapPropertyAccessor() - Constructor for class ognl.MapPropertyAccessor
- maxNextCharInd - Variable in class ognl.JavaCharStream
- MEMBER_ACCESS_CONTEXT_KEY - Static variable in class ognl.OgnlContext
- MemberAccess - Interface in ognl
-
This interface provides a hook for preparing for accessing members of objects.
- MethodAccessor - Interface in ognl
-
This interface defines methods for calling methods in a target object.
- methodCall() - Method in class ognl.OgnlParser
- MethodFailedException - Exception in ognl
-
Exception thrown if a method or constructor call fails.
- MethodFailedException(Object, String) - Constructor for exception ognl.MethodFailedException
- MethodFailedException(Object, String, Throwable) - Constructor for exception ognl.MethodFailedException
- mid - Static variable in class ognl.DynamicSubscript
- MID - Static variable in class ognl.DynamicSubscript
- MIN_REAL_TYPE - Static variable in interface ognl.NumericTypes
-
The smallest type tag that represents reals as opposed to integers.
- multiplicativeExpression() - Method in class ognl.OgnlParser
- multiply(Object, Object) - Static method in class ognl.OgnlOps
N
- navigationChain() - Method in class ognl.OgnlParser
- negate(Object) - Static method in class ognl.OgnlOps
- newInteger(int, long) - Static method in class ognl.OgnlOps
-
Returns a new Number object of an appropriate type to hold the given integer value.
- newReal(int, double) - Static method in class ognl.OgnlOps
-
Returns a new Number object of an appropriate type to hold the given real value.
- newToken(int) - Static method in class ognl.Token
- newToken(int, String) - Static method in class ognl.Token
-
Returns a new Token object, by default.
- next - Variable in class ognl.Token
-
A reference to the next regular (non-special) token from the input stream.
- next() - Method in class ognl.EnumerationIterator
- nextCharBuf - Variable in class ognl.JavaCharStream
- nextCharInd - Variable in class ognl.JavaCharStream
- nextElement() - Method in class ognl.IteratorEnumeration
- NoArguments - Static variable in class ognl.OgnlRuntime
- NoArgumentTypes - Static variable in class ognl.OgnlRuntime
- NoConversionPossible - Static variable in class ognl.OgnlRuntime
-
Token returned by TypeConverter for no conversion possible
- Node - Interface in ognl
-
JJTree interface for AST nodes, as modified to handle the OGNL operations getValue and setValue.
- nodeArity() - Method in class ognl.JJTOgnlParserState
- nodeCreated() - Method in class ognl.JJTOgnlParserState
- NodeType - Interface in ognl
-
Used by some of the
OgnlExpressionCompiler
logic to determine the object type ofNode
s during expression evaluation. - NONNUMERIC - Static variable in interface ognl.NumericTypes
-
Type tag meaning something other than a number.
- NoSuchPropertyException - Exception in ognl
-
Exception thrown if a property is attempted to be extracted from an object that does not have such a property.
- NoSuchPropertyException(Object, Object) - Constructor for exception ognl.NoSuchPropertyException
- NoSuchPropertyException(Object, Object, Throwable) - Constructor for exception ognl.NoSuchPropertyException
- NotFound - Static variable in class ognl.OgnlRuntime
-
Constant expression used to indicate that a given method / property couldn't be found during reflection operations.
- NotFoundList - Static variable in class ognl.OgnlRuntime
- NotFoundMap - Static variable in class ognl.OgnlRuntime
- NULL_STRING - Static variable in class ognl.OgnlRuntime
-
Constant string representation of null string.
- NullHandler - Interface in ognl
-
Interface for handling null results from Chains.
- nullMethodResult(Map, Object, String, Object[]) - Method in interface ognl.NullHandler
-
Method called on target returned null.
- nullMethodResult(Map, Object, String, Object[]) - Method in class ognl.ObjectNullHandler
- nullPropertyValue(Map, Object, Object) - Method in interface ognl.NullHandler
-
Property in target evaluated to null.
- nullPropertyValue(Map, Object, Object) - Method in class ognl.ObjectNullHandler
- NumberElementsAccessor - Class in ognl
-
Implementation of ElementsAccessor that returns an iterator over integers from 0 up to the given target.
- NumberElementsAccessor() - Constructor for class ognl.NumberElementsAccessor
- NumericExpression - Class in ognl
-
Base class for numeric expressions.
- NumericExpression(int) - Constructor for class ognl.NumericExpression
- NumericExpression(OgnlParser, int) - Constructor for class ognl.NumericExpression
- NumericTypes - Interface in ognl
-
This interface defines some useful constants for describing the various possible numeric types of OGNL.
O
- 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.
P
- ParseException - Exception in ognl
-
This exception is thrown when parse errors are encountered.
- ParseException() - Constructor for exception ognl.ParseException
-
The following constructors are for use by you for whatever purpose you can think of.
- ParseException(String) - Constructor for exception ognl.ParseException
-
Constructor with message.
- ParseException(Token, int[][], String[]) - Constructor for exception ognl.ParseException
-
This constructor is used by the method "generateParseException" in the generated parser.
- parseExpression(String) - Static method in class ognl.Ognl
-
Parses the given OGNL expression and returns a tree representation of the expression that can be used by
Ognl
static methods. - peekNode() - Method in class ognl.JJTOgnlParserState
- popEvaluation() - Method in class ognl.OgnlContext
-
Pops the current Evaluation off of the top of the stack.
- popNode() - Method in class ognl.JJTOgnlParserState
- PRE_CAST - Static variable in class ognl.enhance.ExpressionCompiler
-
Key used to store any java source string casting statements in the
OgnlContext
during class compilation. - prevCharIsCR - Variable in class ognl.JavaCharStream
- prevCharIsLF - Variable in class ognl.JavaCharStream
- primaryExpression() - Method in class ognl.OgnlParser
- printStackTrace() - Method in exception ognl.OgnlException
-
Prints the stack trace for this (and possibly the encapsulated) exception on System.err.
- printStackTrace(PrintStream) - Method in exception ognl.OgnlException
-
Prints the stack trace for this (and possibly the encapsulated) exception on the given print stream.
- printStackTrace(PrintWriter) - Method in exception ognl.OgnlException
-
Prints the stack trace for this (and possibly the encapsulated) exception on the given print writer.
- projection() - Method in class ognl.OgnlParser
-
Apply an expression to all elements of a collection, creating a new collection as the result.
- PropertyAccessor - Interface in ognl
-
This interface defines methods for setting and getting a property from a target object.
- propertyName() - Method in class ognl.OgnlParser
- pushEvaluation(Evaluation) - Method in class ognl.OgnlContext
-
Pushes a new Evaluation onto the stack.
- pushNode(Node) - Method in class ognl.JJTOgnlParserState
- put(int, Object) - Method in class ognl.IntHashMap
- put(Class, Object) - Method in interface ognl.internal.ClassCache
- put(Class, Object) - Method in class ognl.internal.ClassCacheImpl
- put(Object, Object) - Method in class ognl.IntHashMap
- put(Object, Object) - Method in class ognl.OgnlContext
- putAll(Map) - Method in class ognl.IntHashMap
- putAll(Map) - Method in class ognl.OgnlContext
R
- ReadByte() - Method in class ognl.JavaCharStream
- readChar() - Method in class ognl.JavaCharStream
- recycle(Object[]) - Method in class ognl.ObjectArrayPool
- recycle(Object[]) - Method in class ognl.ObjectArrayPool.SizePool
- recycle(Evaluation) - Method in class ognl.EvaluationPool
-
Recycles an Evaluation
- recycleAll(List) - Method in class ognl.EvaluationPool
-
Recycles a List of Evaluation objects
- recycleAll(Evaluation) - Method in class ognl.EvaluationPool
-
Recycles an of Evaluation and all of it's siblings and children.
- recycleLastEvaluation() - Method in class ognl.OgnlContext
-
This method can be called when the last evaluation has been used and can be returned for reuse in the free pool maintained by the runtime.
- rehash() - Method in class ognl.IntHashMap
- ReInit(InputStream) - Method in class ognl.JavaCharStream
-
Reinitialise.
- ReInit(InputStream) - Method in class ognl.OgnlParser
-
Reinitialise.
- ReInit(InputStream, int, int) - Method in class ognl.JavaCharStream
-
Reinitialise.
- ReInit(InputStream, int, int, int) - Method in class ognl.JavaCharStream
-
Reinitialise.
- ReInit(InputStream, String) - Method in class ognl.JavaCharStream
-
Reinitialise.
- ReInit(InputStream, String) - Method in class ognl.OgnlParser
-
Reinitialise.
- ReInit(InputStream, String, int, int) - Method in class ognl.JavaCharStream
-
Reinitialise.
- ReInit(InputStream, String, int, int, int) - Method in class ognl.JavaCharStream
-
Reinitialise.
- ReInit(Reader) - Method in class ognl.JavaCharStream
- ReInit(Reader) - Method in class ognl.OgnlParser
-
Reinitialise.
- ReInit(Reader, int, int) - Method in class ognl.JavaCharStream
- ReInit(Reader, int, int, int) - Method in class ognl.JavaCharStream
- ReInit(JavaCharStream) - Method in class ognl.OgnlParserTokenManager
-
Reinitialise parser.
- ReInit(JavaCharStream, int) - Method in class ognl.OgnlParserTokenManager
-
Reinitialise parser.
- ReInit(OgnlParserTokenManager) - Method in class ognl.OgnlParser
-
Reinitialise.
- relationalExpression() - Method in class ognl.OgnlParser
- remainder(Object, Object) - Static method in class ognl.OgnlOps
- remove() - Method in class ognl.EnumerationIterator
- remove(int) - Method in class ognl.IntHashMap
- remove(Object) - Method in class ognl.IntHashMap
- remove(Object) - Method in class ognl.OgnlContext
- reset() - Method in class ognl.Evaluation
-
Resets this Evaluation to the initial state.
- reset() - Method in class ognl.JJTOgnlParserState
- restore(Map, Object, Member, String, Object) - Method in class ognl.DefaultMemberAccess
- restore(Map, Object, Member, String, Object) - Method in interface ognl.MemberAccess
-
Restores the member from the previous setup call.
- returnValue(Object, Object) - Static method in class ognl.OgnlOps
- ROOT_CONTEXT_KEY - Static variable in class ognl.OgnlContext
- ROOT_TYPE - Static variable in interface ognl.enhance.OgnlExpressionCompiler
-
Static constant used in conjunction with
OgnlContext
to store temporary references. - rootNode() - Method in class ognl.JJTOgnlParserState
S
- 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
-
Registers the specified
ClassCacheInspector
with all class reflection based internal caches. - 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
-
Configures the
ClassResolver
to use for the given context. - 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
andsetValue
. - 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
-
Used by
ExpressionCompiler.getRootExpression(ognl.Node, Object, ognl.OgnlContext)
to determine if the expression needs to be cast at all. - shouldConvertNumericTypes(OgnlContext) - Static method in class ognl.OgnlRuntime
-
Compares the
OgnlContext.getCurrentType()
andOgnlContext.getPreviousType()
class types on the stack to determine if a numeric expression should force object conversion. - 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.
- STATIC_LEXER_ERROR - Static variable in error ognl.TokenMgrError
-
An attempt was made to create a second instance of a static token manager.
- 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.
T
- tabSize - Variable in class ognl.JavaCharStream
- THIS_CONTEXT_KEY - Static variable in class ognl.OgnlContext
- toArray(boolean, Class) - Static method in class ognl.OgnlOps
- toArray(boolean, Class, boolean) - Static method in class ognl.OgnlOps
- toArray(byte, Class) - Static method in class ognl.OgnlOps
- toArray(byte, Class, boolean) - Static method in class ognl.OgnlOps
- toArray(char, Class) - Static method in class ognl.OgnlOps
- toArray(char, Class, boolean) - Static method in class ognl.OgnlOps
- toArray(double, Class) - Static method in class ognl.OgnlOps
- toArray(double, Class, boolean) - Static method in class ognl.OgnlOps
- toArray(float, Class) - Static method in class ognl.OgnlOps
- toArray(float, Class, boolean) - Static method in class ognl.OgnlOps
- toArray(int, Class) - Static method in class ognl.OgnlOps
- toArray(int, Class, boolean) - Static method in class ognl.OgnlOps
- toArray(long, Class) - Static method in class ognl.OgnlOps
- toArray(long, Class, boolean) - Static method in class ognl.OgnlOps
- toArray(Object, Class) - Static method in class ognl.OgnlOps
- toArray(Object, Class, boolean) - Static method in class ognl.OgnlOps
- toArray(List) - Static method in class ognl.OgnlRuntime
-
Utility to convert a List into an Object[] array.
- toGetSourceString(OgnlContext, Object) - Method in class ognl.ASTAnd
- toGetSourceString(OgnlContext, Object) - Method in class ognl.ASTChain
- toGetSourceString(OgnlContext, Object) - Method in class ognl.ASTConst
- toGetSourceString(OgnlContext, Object) - Method in class ognl.ASTCtor
- toGetSourceString(OgnlContext, Object) - Method in class ognl.ASTInstanceof
- toGetSourceString(OgnlContext, Object) - Method in class ognl.ASTList
- toGetSourceString(OgnlContext, Object) - Method in class ognl.ASTMethod
- toGetSourceString(OgnlContext, Object) - Method in class ognl.ASTOr
- toGetSourceString(OgnlContext, Object) - Method in class ognl.ASTProperty
- toGetSourceString(OgnlContext, Object) - Method in class ognl.ASTRootVarRef
- toGetSourceString(OgnlContext, Object) - Method in class ognl.ASTSequence
- toGetSourceString(OgnlContext, Object) - Method in class ognl.ASTStaticField
- toGetSourceString(OgnlContext, Object) - Method in class ognl.ASTStaticMethod
- toGetSourceString(OgnlContext, Object) - Method in class ognl.ASTThisVarRef
- toGetSourceString(OgnlContext, Object) - Method in class ognl.ASTVarRef
- toGetSourceString(OgnlContext, Object) - Method in class ognl.BooleanExpression
- toGetSourceString(OgnlContext, Object) - Method in class ognl.ComparisonExpression
- toGetSourceString(OgnlContext, Object) - Method in class ognl.ExpressionNode
- toGetSourceString(OgnlContext, Object) - Method in interface ognl.JavaSource
-
Expected to return a java source representation of itself such that it could be turned into a literal java expression to be compiled and executed for
ExpressionAccessor.get(OgnlContext, Object)
calls. - toGetSourceString(OgnlContext, Object) - Method in class ognl.NumericExpression
- toGetSourceString(OgnlContext, Object) - Method in class ognl.SimpleNode
- token - Variable in class ognl.OgnlParser
-
Current token.
- Token - Class in ognl
-
Describes the input token stream.
- Token() - Constructor for class ognl.Token
-
No-argument constructor
- Token(int) - Constructor for class ognl.Token
-
Constructs a new token for the specified Image.
- Token(int, String) - Constructor for class ognl.Token
-
Constructs a new token for the specified Image and Kind.
- token_source - Variable in class ognl.OgnlParser
-
Generated Token Manager.
- tokenImage - Static variable in interface ognl.OgnlParserConstants
-
Literal token values.
- tokenImage - Variable in exception ognl.ParseException
-
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
- TokenMgrError - Error in ognl
-
Token Manager Error.
- TokenMgrError() - Constructor for error ognl.TokenMgrError
-
No arg constructor.
- TokenMgrError(boolean, int, int, int, String, int, int) - Constructor for error ognl.TokenMgrError
-
Full Constructor.
- TokenMgrError(String, int) - Constructor for error ognl.TokenMgrError
-
Constructor with message and reason.
- topLevelExpression() - Method in class ognl.OgnlParser
-
This is the top-level construct of OGNL.
- toSetSourceString(OgnlContext, Object) - Method in class ognl.ASTAnd
- toSetSourceString(OgnlContext, Object) - Method in class ognl.ASTChain
- toSetSourceString(OgnlContext, Object) - Method in class ognl.ASTConst
- toSetSourceString(OgnlContext, Object) - Method in class ognl.ASTCtor
- toSetSourceString(OgnlContext, Object) - Method in class ognl.ASTInstanceof
- toSetSourceString(OgnlContext, Object) - Method in class ognl.ASTList
- toSetSourceString(OgnlContext, Object) - Method in class ognl.ASTMethod
- toSetSourceString(OgnlContext, Object) - Method in class ognl.ASTOr
- toSetSourceString(OgnlContext, Object) - Method in class ognl.ASTProperty
- toSetSourceString(OgnlContext, Object) - Method in class ognl.ASTRootVarRef
- toSetSourceString(OgnlContext, Object) - Method in class ognl.ASTSequence
- toSetSourceString(OgnlContext, Object) - Method in class ognl.ASTStaticField
- toSetSourceString(OgnlContext, Object) - Method in class ognl.ASTStaticMethod
- toSetSourceString(OgnlContext, Object) - Method in class ognl.ASTThisVarRef
- toSetSourceString(OgnlContext, Object) - Method in class ognl.ASTVarRef
- toSetSourceString(OgnlContext, Object) - Method in class ognl.ExpressionNode
- toSetSourceString(OgnlContext, Object) - Method in interface ognl.JavaSource
-
Expected to return a java source representation of itself such that it could be turned into a literal java expression to be compiled and executed for
ExpressionAccessor.get(OgnlContext, Object)
calls. - toSetSourceString(OgnlContext, Object) - Method in class ognl.SimpleNode
- toString() - Method in class ognl.ASTChain
- toString() - Method in class ognl.ASTConst
- toString() - Method in class ognl.ASTCtor
- toString() - Method in class ognl.ASTInstanceof
- toString() - Method in class ognl.ASTList
- toString() - Method in class ognl.ASTMethod
- toString() - Method in class ognl.ASTProperty
- toString() - Method in class ognl.ASTRootVarRef
- toString() - Method in class ognl.ASTSequence
- toString() - Method in class ognl.ASTStaticField
- toString() - Method in class ognl.ASTStaticMethod
- toString() - Method in class ognl.ASTThisVarRef
- toString() - Method in class ognl.ASTVarRef
- toString() - Method in class ognl.DynamicSubscript
- toString() - Method in class ognl.enhance.LocalReferenceImpl
- toString() - Method in class ognl.Evaluation
-
Returns a String description of the Evaluation.
- toString() - Method in class ognl.ExpressionNode
- toString() - Method in class ognl.internal.ClassCacheImpl
- toString() - Method in exception ognl.OgnlException
-
Returns a string representation of this exception.
- toString() - Method in class ognl.SimpleNode
- toString() - Method in class ognl.Token
-
Returns the image.
- toString(boolean, boolean, String) - Method in class ognl.Evaluation
-
Produces a String value for the Evaluation.
- toString(boolean, String) - Method in class ognl.Evaluation
-
Produces a String value for the Evaluation.
- toString(String) - Method in class ognl.SimpleNode
- trace_enabled() - Method in class ognl.OgnlParser
-
Trace enabled.
- TRACE_EVALUATIONS_CONTEXT_KEY - Static variable in class ognl.OgnlContext
- trackLineColumn - Variable in class ognl.JavaCharStream
- TYPE_CONVERTER_CONTEXT_KEY - Static variable in class ognl.OgnlContext
- TypeConverter - Interface in ognl
-
Interface for accessing the type conversion facilities within a context.
U
- unaryExpression() - Method in class ognl.OgnlParser
- unsignedShiftRight(Object, Object) - Static method in class ognl.OgnlOps
- UnsupportedCompilationException - Exception in ognl.enhance
-
Thrown during bytecode enhancement conversions of ognl expressions to indicate that a certain expression isn't currently supported as a pure java bytecode enhanced version.
- UnsupportedCompilationException(String) - Constructor for exception ognl.enhance.UnsupportedCompilationException
- UnsupportedCompilationException(String, Throwable) - Constructor for exception ognl.enhance.UnsupportedCompilationException
- UpdateLineColumn(char) - Method in class ognl.JavaCharStream
V
- values() - Method in class ognl.IntHashMap
- values() - Method in class ognl.OgnlContext
W
- WithinBackCharLiteral - Static variable in interface ognl.OgnlParserConstants
-
Lexical state.
- WithinCharLiteral - Static variable in interface ognl.OgnlParserConstants
-
Lexical state.
- WithinStringLiteral - Static variable in interface ognl.OgnlParserConstants
-
Lexical state.
_
- _children - Variable in class ognl.SimpleNode
- _classCounter - Variable in class ognl.enhance.ExpressionCompiler
- _core - Variable in class ognl.ASTVarRef
- _getterClass - Variable in class ognl.ASTVarRef
- _getterClass - Variable in class ognl.BooleanExpression
- _getterClass - Variable in class ognl.NumericExpression
- _id - Variable in class ognl.SimpleNode
- _last - Variable in class ognl.ASTVarRef
- _loaders - Variable in class ognl.enhance.ExpressionCompiler
-
ClassLoader
instances. - _parent - Variable in class ognl.SimpleNode
- _parser - Variable in class ognl.SimpleNode
- _pool - Variable in class ognl.enhance.ExpressionCompiler
-
Javassist class definition poool.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
OgnlRuntime.callMethod(OgnlContext, Object, String, Object[])
instead.