Package org.apache.commons.ognl

Interface Summary
ClassCacheInspector Optional interface that may be registered with OgnlRuntime.setClassCacheInspector(ClassCacheInspector) as a means to disallow caching of specific class types.
ClassResolver This interface defines an object that will resolve a class from a string and an ognl context table.
ElementsAccessor 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.
JavaSource 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.
MemberAccess This interface provides a hook for preparing for accessing members of objects.
MethodAccessor This interface defines methods for calling methods in a target object.
Node JJTree interface for AST nodes, as modified to handle the OGNL operations getValue and setValue.
NodeType Used by some of the ognl.enhance.OgnlExpressionCompiler logic to determine the object type of Nodes during expression evaluation.
NodeVisitor<R,P>  
NullHandler Interface for handling null results from Chains.
NumericTypes This interface defines some useful constants for describing the various possible numeric types of OGNL.
OgnlParserConstants Token literal values and constants.
OgnlParserTreeConstants $Id: OgnlParserTreeConstants.java 1194868 2011-10-29 11:04:16Z mcucchiara $ Generated By:JavaCC: Do not edit this line.
PropertyAccessor This interface defines methods for setting and getting a property from a target object.
TypeConverter Interface for accessing the type conversion facilities within a context.
 

Class Summary
ArrayElementsAccessor Implementation of ElementsAccessor that returns an iterator over a Java array.
ArrayPropertyAccessor Implementation of PropertyAccessor that uses numbers and dynamic subscripts as properties to index into Java arrays.
ASTAnd $Id: ASTAnd.java 1194869 2011-10-29 11:10:16Z mcucchiara $
ASTChain $Id: ASTChain.java 1197011 2011-11-03 09:19:44Z mcucchiara $
ASTConst $Id: ASTConst.java 1194869 2011-10-29 11:10:16Z mcucchiara $
ASTCtor $Id: ASTCtor.java 1194869 2011-10-29 11:10:16Z mcucchiara $
ASTInstanceof $Id: ASTInstanceof.java 1194869 2011-10-29 11:10:16Z mcucchiara $
ASTList $Id: ASTList.java 1194869 2011-10-29 11:10:16Z mcucchiara $
ASTMethod $Id: ASTMethod.java 1198659 2011-11-07 09:12:44Z mcucchiara $
ASTOr $Id: ASTOr.java 1194869 2011-10-29 11:10:16Z mcucchiara $
ASTProperty $Id: ASTProperty.java 1197445 2011-11-04 09:13:17Z mcucchiara $
ASTRootVarRef $Id: ASTRootVarRef.java 1194869 2011-10-29 11:10:16Z mcucchiara $
ASTSequence $Id: ASTSequence.java 1194869 2011-10-29 11:10:16Z mcucchiara $
ASTStaticField $Id: ASTStaticField.java 1198661 2011-11-07 09:14:07Z mcucchiara $
ASTStaticMethod $Id: ASTStaticMethod.java 1194869 2011-10-29 11:10:16Z mcucchiara $
ASTThisVarRef $Id: ASTThisVarRef.java 1184964 2011-10-17 00:26:34Z mcucchiara $
ASTVarRef $Id: ASTVarRef.java 1194869 2011-10-29 11:10:16Z mcucchiara $
BooleanExpression Base class for boolean expressions.
CollectionElementsAccessor Implementation of ElementsAccessor that returns a collection's iterator.
ComparisonExpression Base class for types that compare values.
DefaultClassResolver Default class resolution.
DefaultMemberAccess This class provides methods for setting up and restoring access in a Field.
DefaultTypeConverter Default type conversion.
DynamicSubscript 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.
EnumerationElementsAccessor Implementation of the ElementsAccessor interface for Enumerations, which returns an iterator that passes its calls through to the target Enumeration.
EnumerationIterator<E> Object that implements Iterator from an Enumeration
EnumerationPropertyAccessor Implementation of PropertyAccessor that provides "property" reference to "nextElement" (aliases to "next" also) and "hasMoreElements" (also aliased to "hasNext").
Evaluation An Evaluation is and object that holds a node being evaluated and the source from which that node will take extract its value.
EvaluationPool Deprecated. evaluation-pooling now relies on the jvm garbage collection
ExpressionNode  
IteratorElementsAccessor Implementation of the ElementsAccessor interface for Iterators, which simply returns the target iterator itself.
IteratorEnumeration<T> Maps an Iterator to an Enumeration
IteratorPropertyAccessor Implementation of PropertyAccessor that provides "property" reference to "next" and "hasNext".
JavaCharStream An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (with java-like unicode escape processing).
JJTOgnlParserState $Id: JJTOgnlParserState.java 1194866 2011-10-29 10:51:32Z mcucchiara $
ListPropertyAccessor Implementation of PropertyAccessor that uses numbers and dynamic subscripts as properties to index into Lists.
MapElementsAccessor Implementation of ElementsAccessor that returns an iterator over the map's values.
MapPropertyAccessor Implementation of PropertyAccessor that sets and gets properties by storing and looking up values in Maps.
NumberElementsAccessor Implementation of ElementsAccessor that returns an iterator over integers from 0 up to the given target.
NumericExpression Base class for numeric expressions.
ObjectArrayPool Deprecated. object-pooling now relies on the jvm garbage collection
ObjectElementsAccessor Implementation of ElementsAccessor that returns a single-element iterator, containing the original target object.
ObjectIndexedPropertyDescriptor PropertyDescriptor subclass that describes an indexed set of read/write methods to get a property.
ObjectMethodAccessor 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.
ObjectNullHandler Implementation of NullHandler that returns null in all cases, so that NullPointerException will be thrown by the caller.
ObjectPropertyAccessor 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.
Ognl This class provides static methods for parsing and interpreting OGNL expressions.
OgnlCache This class takes care of all the internal caching for OGNL.
OgnlContext This class defines the execution context for an OGNL expression
OgnlInvokePermission BasicPermission subclass that defines a permission token for invoking methods within OGNL.
OgnlOps This is an abstract class with static methods that define the operations of OGNL.
OgnlParser 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.
OgnlParserTokenManager Token Manager.
OgnlRuntime Utility class used by internal OGNL API to do various things like: Handles majority of reflection logic / caching. Utility methods for casting strings / various numeric types used by OgnlExpressionCompiler.
SetPropertyAccessor Implementation of PropertyAccessor that uses numbers and dynamic subscripts as properties to index into Lists.
SimpleNode  
Token Describes the input token stream.
ToStringVisitor A NodeVisitor implementation which will build a String representation of the AST tree.
 

Exception Summary
ExpressionSyntaxException Exception thrown if a malformed OGNL expression is encountered.
InappropriateExpressionException 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.
MethodFailedException Exception thrown if a method or constructor call fails.
NoSuchPropertyException Exception thrown if a property is attempted to be extracted from an object that does not have such a property.
OgnlException Superclass for OGNL exceptions, incorporating an optional encapsulated exception.
ParseException This exception is thrown when parse errors are encountered.
 

Error Summary
TokenMgrError Token Manager Error.
 



Copyright © 1997-2013 The Apache Software Foundation. All Rights Reserved.