Package org.apache.commons.ognl
package org.apache.commons.ognl
-
ClassDescriptionImplementation of ElementsAccessor that returns an iterator over a Java array.Implementation of PropertyAccessor that uses numbers and dynamic subscripts as properties to index into Java arrays.$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$$Id$Base class for boolean expressions.Optional interface that may be registered with
OgnlRuntime.setClassCacheInspector(ClassCacheInspector)
as a means to disallow caching of specific class types.This interface defines an object that will resolve a class from a string and an ognl context table.Implementation of ElementsAccessor that returns a collection's iterator.Base class for types that compare values.Default class resolution.This class provides methods for setting up and restoring access in a Field.Default type conversion.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.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.Implementation of the ElementsAccessor interface for Enumerations, which returns an iterator that passes its calls through to the target Enumeration.Object that implements Iterator from an EnumerationImplementation of PropertyAccessor that provides "property" reference to "nextElement" (aliases to "next" also) and "hasMoreElements" (also aliased to "hasNext").AnEvaluation
is and object that holds a node being evaluated and the source from which that node will take extract its value.Exception thrown if a malformed OGNL expression is encountered.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 tosetValue
.Implementation of the ElementsAccessor interface for Iterators, which simply returns the target iterator itself.Maps an Iterator to an EnumerationImplementation of PropertyAccessor that provides "property" reference to "next" and "hasNext".An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (with java-like unicode escape processing).Defines an object that can return a representation of itself and any objects it contains in the form of aString
embedded with literal java statements.$Id$Implementation of PropertyAccessor that uses numbers and dynamic subscripts as properties to index into Lists.Implementation of ElementsAccessor that returns an iterator over the map's values.Implementation of PropertyAccessor that sets and gets properties by storing and looking up values in Maps.This interface provides a hook for preparing for accessing members of objects.This interface defines methods for calling methods in a target object.Exception thrown if a method or constructor call fails.JJTree interface for AST nodes, as modified to handle the OGNL operations getValue and setValue.Used by some of theognl.enhance.OgnlExpressionCompiler
logic to determine the object type ofNode
s during expression evaluation.NodeVisitor<R,P> Exception thrown if a property is attempted to be extracted from an object that does not have such a property.Interface for handling null results from Chains.Implementation of ElementsAccessor that returns an iterator over integers from 0 up to the given target.Constant strings for casting different primitive types.Base class for numeric expressions.Numeric primitive literal string expressions.This interface defines some useful constants for describing the various possible numeric types of OGNL.Constant strings for getting the primitive value of different native types on the genericNumber
object interface.Implementation of ElementsAccessor that returns a single-element iterator, containing the original target object.PropertyDescriptor subclass that describes an indexed set of read/write methods to get a property.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.Implementation of NullHandler that returns null in all cases, so that NullPointerException will be thrown by the caller.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.This class provides static methods for parsing and interpreting OGNL expressions.This class takes care of all the internal caching for OGNL.This class defines the execution context for an OGNL expressionSuperclass for OGNL exceptions, incorporating an optional encapsulated exception.BasicPermission subclass that defines a permission token for invoking methods within OGNL.This is an abstract class with static methods that define the operations of 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.Token literal values and constants.Token Manager.$Id$ Generated By:JavaCC: Do not edit this line.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 byOgnlExpressionCompiler
.</li.This exception is thrown when parse errors are encountered.Used to provide primitive type equivalent conversions into and out of native / object types.This interface defines methods for setting and getting a property from a target object.Implementation of PropertyAccessor that uses numbers and dynamic subscripts as properties to index into Lists.Describes the input token stream.Token Manager Error.A NodeVisitor implementation which will build a String representation of the AST tree.Interface for accessing the type conversion facilities within a context.