A B C D E F G I M N O P S T X

A

AccessorOperator - class net.sf.jec.AccessorOperator.
This operator returns/sets a property of the context object.
AccessorOperator(String, boolean) - Constructor for class net.sf.jec.AccessorOperator
Creates a new AccessorOperator that will try to get and set the field property of the context
AccessorOperator(String, Operator, boolean) - Constructor for class net.sf.jec.AccessorOperator
Creates a new AccessorOperator that will try to get and set the field property of the context
ArithmeticOperator - class net.sf.jec.ArithmeticOperator.
 
ArithmeticOperator(String, Operator, Operator, boolean) - Constructor for class net.sf.jec.ArithmeticOperator
Creates a new instance of BooleanOperator
AssignOperator - class net.sf.jec.AssignOperator.
AssignOperator does an assignation to an invertible operator.
AssignOperator(InvertibleOperator, Operator, boolean) - Constructor for class net.sf.jec.AssignOperator
Creates a new instance of AssignOperator
AvgOperator - class net.sf.jec.namedop.AvgOperator.
AvgOperator acts over a collection of elements, applying its argument operator to each element, and averaging the results into a total average.
AvgOperator() - Constructor for class net.sf.jec.namedop.AvgOperator
Creates a new SumOperator
addFunction(String, Function) - Method in class net.sf.jec.ExpressionCompiler
Adds a new function to the compiler
addOperator(String, Class) - Method in class net.sf.jec.ExpressionCompiler
Adds a new function to the compiler
apply(Object, Object) - Method in class net.sf.jec.Operator
 
applyInverse(Object, Object, Object) - Method in class net.sf.jec.InvertibleOperator
 
applyToGroup(Object, Map) - Method in class net.sf.jec.namedop.GroupOperator
Applies operator over a group...
argOps - Variable in class net.sf.jec.Operator
 

B

BooleanOperator - class net.sf.jec.BooleanOperator.
 
BooleanOperator(String, Operator, Operator, boolean) - Constructor for class net.sf.jec.BooleanOperator
Creates a new instance of BooleanOperator

C

ConstantOperator - class net.sf.jec.ConstantOperator.
ConstantOperator always returns a constant value (any object), given as a constructor's parameter.
ConstantOperator(Object) - Constructor for class net.sf.jec.ConstantOperator
Builds a ConstantOperator given a "constant" object
ContextComparator - class net.sf.jec.namedop.ContextComparator.
ContextComparator applies the Operator passed to its constructor to each Object, given its context, and compares the results.
ContextComparator(Object, Operator) - Constructor for class net.sf.jec.namedop.ContextComparator
Creates a new ContextComparator given the Operator and context Object needed to complete the expression whose result will be compared.
ConversionException - exception net.sf.jec.ConversionException.
Thrown when an error appears during an object conversion
ConversionException(String) - Constructor for class net.sf.jec.ConversionException
Constructs an instance of ConversionException with the specified detail message.
CountOperator - class net.sf.jec.namedop.CountOperator.
CountOperator counts the amount of elements in the context collection.
CountOperator() - Constructor for class net.sf.jec.namedop.CountOperator
Creates a new CountOperator
CurrencyFormat - class net.sf.jec.functions.CurrencyFormat.
This is a utility class for currency formatting and conversion.
CurrencyFormat(Map, Map, String) - Constructor for class net.sf.jec.functions.CurrencyFormat
Creates a new CurrencyFormat object given a factor map, which gives the relationship between amounts, and a format map, that specifies how a currency type must be transformed into a String.
CurrencyFunction - class net.sf.jec.functions.CurrencyFunction.
 
CurrencyFunction() - Constructor for class net.sf.jec.functions.CurrencyFunction
Creates a new instance of CurrencyFunction
CurrencyFunction(CurrencyFormat) - Constructor for class net.sf.jec.functions.CurrencyFunction
 
clearOperatorCache() - Method in class net.sf.jec.ExpressionEval
Removes all stored operators, so the garbage collector can collect them.
clearOperatorCache(Class) - Method in class net.sf.jec.ExpressionEval
Removes all stored operator for objects of the given class
compare(Object, Object) - Method in class net.sf.jec.namedop.ContextComparator
Compares its two arguments for order.
compileOperator(String) - Method in class net.sf.jec.ExpressionCompiler
Compiles an expression into an operator
convert(Object, Class) - Static method in class net.sf.jec.ObjectConverter
 
convert(double, String, String) - Method in class net.sf.jec.functions.CurrencyFormat
Converts an amount, given a source currency type, into a target currency amount.
createBrother(Element) - Static method in class net.sf.jec.util.XMLHelper
Creates an empty brother (same parent, same tag name)
createBrother(Element, String) - Static method in class net.sf.jec.util.XMLHelper
Creates an empty brother (same parent, same tag name) with a text node

D

DateFunction - class net.sf.jec.functions.DateFunction.
Direct and inverse maps between Date/Timestamps to String objects.
DateFunction(String) - Constructor for class net.sf.jec.functions.DateFunction
Creates a new instance of DateFunction
directMap(Object, Object) - Method in class net.sf.jec.AccessorOperator
Returns the associated value to the given context and root context
directMap(Object, Object) - Method in class net.sf.jec.ArithmeticOperator
Returns the associated value to the given context and root context
directMap(Object, Object) - Method in class net.sf.jec.AssignOperator
Returns the associated value to the given context and root context
directMap(Object, Object) - Method in class net.sf.jec.BooleanOperator
Returns the associated value to the given context and root context
directMap(Object, Object) - Method in class net.sf.jec.ConstantOperator
Returns the associated value to the given context and root context
directMap(Object[]) - Method in class net.sf.jec.Function
Direct map: the direct conversion
directMap(Object, Object) - Method in class net.sf.jec.IndexerOperator
Returns the associated value to the given context and root context
directMap(Object, Object) - Method in class net.sf.jec.MethodOperator
Returns the associated value to the given context and root context
directMap(Object, Object) - Method in class net.sf.jec.Operator
Returns the associated value to the given context and root context
directMap(Object[]) - Method in class net.sf.jec.functions.CurrencyFunction
Direct map: the direct conversion
directMap(Object[]) - Method in class net.sf.jec.functions.DateFunction
Direct map: the direct conversion
directMap(Object[]) - Method in class net.sf.jec.functions.PercentFunction
Direct map: the direct conversion
directMap(Object, Object) - Method in class net.sf.jec.namedop.AvgOperator
Returns the associated value to the given context and root context
directMap(Object, Object) - Method in class net.sf.jec.namedop.CountOperator
Returns the associated value to the given context and root context
directMap(Object, Object) - Method in class net.sf.jec.namedop.GroupByOperator
Returns the associated value to the given context and root context
directMap(Object, Object) - Method in class net.sf.jec.namedop.IfOperator
Returns the associated value to the given context and root context
directMap(Object, Object) - Method in class net.sf.jec.namedop.MaxOperator
Returns the associated value to the given context and root context
directMap(Object, Object) - Method in class net.sf.jec.namedop.MinOperator
Returns the associated value to the given context and root context
directMap(Object, Object) - Method in class net.sf.jec.namedop.OrderByOperator
Returns the associated value to the given context and root context
directMap(Object, Object) - Method in class net.sf.jec.namedop.SelectOperator
Returns the associated value to the given context and root context
directMap(Object, Object) - Method in class net.sf.jec.namedop.SumOperator
Returns the associated value to the given context and root context
directMap(Object, Object) - Method in class net.sf.jec.namedop.TableOperator
Returns the associated value to the given context and root context

E

EvaluationException - exception net.sf.jec.EvaluationException.
Thrown when an error appears in the expression evaluation given a context
EvaluationException(String) - Constructor for class net.sf.jec.EvaluationException
Constructs an instance of EvaluationException with the specified detail message.
ExpressionCompiler - class net.sf.jec.ExpressionCompiler.
This class precompiles bean expressions so their evaluation becomes faster.
ExpressionCompiler(boolean) - Constructor for class net.sf.jec.ExpressionCompiler
Creates a new ExpressionCompiler that uses the specified ObjectConverter
ExpressionEval - class net.sf.jec.ExpressionEval.
ExpressionEval is an expression evaluator.
ExpressionEval(boolean) - Constructor for class net.sf.jec.ExpressionEval
Creates a new instance of ExpressionEval
ExpressionEval(ExpressionCompiler) - Constructor for class net.sf.jec.ExpressionEval
Creates a new instance of ExpressionEval

F

Function - class net.sf.jec.Function.
A function is a map between objects.
Function() - Constructor for class net.sf.jec.Function
 

G

GroupByOperator - class net.sf.jec.namedop.GroupByOperator.
GroupByOperator returns a Map containing keyed groups of elements.
GroupByOperator() - Constructor for class net.sf.jec.namedop.GroupByOperator
Creates a new SumOperator
GroupOperator - class net.sf.jec.namedop.GroupOperator.
GroupOperator is the abstract parent class of every operator that operates over a group (an object implementing the Map interface)
GroupOperator() - Constructor for class net.sf.jec.namedop.GroupOperator
Creates a new GroupOperator
get(Object, String) - Method in class net.sf.jec.ExpressionEval
Evaluates expression expr over the context ctx
getCachedOperator(Object, String) - Method in class net.sf.jec.ExpressionEval
This method completely encapsulates the internal data representation.
getChild(Element, String) - Static method in class net.sf.jec.util.XMLHelper
Returns children of a given Element.
getDefaultInstance(boolean) - Static method in class net.sf.jec.ExpressionCompiler
Returns an ExpressionCompiler with default operators and functions.
getDefaultInstance(boolean) - Static method in class net.sf.jec.ExpressionEval
Returns a default expression evaluator that uses a default expression compiler (see ExpressionCompiler.getDefaultInstance(boolean)).
getDefaultInstance() - Static method in class net.sf.jec.functions.CurrencyFormat
Returns the default instance with ESP and EUR as the only currency types.
getText(Element) - Static method in class net.sf.jec.util.XMLHelper
Returns the concatenation of every element's child text node

I

IfOperator - class net.sf.jec.namedop.IfOperator.
IfOperator evaluates a first boolean argument, evaluating and returning the second or thirth arguments when true or false respectively.
IfOperator() - Constructor for class net.sf.jec.namedop.IfOperator
Creates a new SumOperator
IndexerOperator - class net.sf.jec.IndexerOperator.
IndexerOperator operates on indexed objects as List, NodeList or Map.
IndexerOperator(Operator, Operator, boolean) - Constructor for class net.sf.jec.IndexerOperator
This operator requires object conversion and an operator chain that resolves the selected index.
InvertibleOperator - class net.sf.jec.InvertibleOperator.
Abstract class parent of every invertible operator.
InvertibleOperator() - Constructor for class net.sf.jec.InvertibleOperator
Creates a new operator that nest another operator
InvertibleOperator(Operator) - Constructor for class net.sf.jec.InvertibleOperator
Creates a new operator that nest another operator
inverseMap(Object, Object, Object) - Method in class net.sf.jec.AccessorOperator
Sets the given value if this operator is at the end of the operator chain or just resolves the context object and passes it to the next operator in the chain.
inverseMap(Object[]) - Method in class net.sf.jec.Function
Inverse map: the inverse conversion
inverseMap(Object, Object, Object) - Method in class net.sf.jec.IndexerOperator
Sets the given value if this operator is at the end of the operator chain or just resolves the context object and passes it to the next operator in the chain.
inverseMap(Object, Object, Object) - Method in class net.sf.jec.InvertibleOperator
Sets the given value if this operator is at the end of the operator chain or just resolves the context object and passes it to the next operator in the chain.
inverseMap(Object[]) - Method in class net.sf.jec.functions.CurrencyFunction
Inverse map: the inverse conversion
inverseMap(Object[]) - Method in class net.sf.jec.functions.DateFunction
Inverse map: the inverse conversion
inverseMap(Object[]) - Method in class net.sf.jec.functions.PercentFunction
Inverse map: the inverse conversion

M

MaxOperator - class net.sf.jec.namedop.MaxOperator.
MaxOperator acts over a collection of elements, applying its argument operator to each element, and returning the maximum result value.
MaxOperator() - Constructor for class net.sf.jec.namedop.MaxOperator
Creates a new MaxOperator
MethodOperator - class net.sf.jec.MethodOperator.
 
MethodOperator(String) - Constructor for class net.sf.jec.MethodOperator
Creates a new instance of FunctionOperator
MinOperator - class net.sf.jec.namedop.MinOperator.
MinOperator acts over a collection of elements, applying its argument operator to each element, and returning the minimum result value.
MinOperator() - Constructor for class net.sf.jec.namedop.MinOperator
Creates a new MinOperator

N

nestedOp - Variable in class net.sf.jec.Operator
Nested operator
net.sf.jec - package net.sf.jec
 
net.sf.jec.functions - package net.sf.jec.functions
 
net.sf.jec.namedop - package net.sf.jec.namedop
 
net.sf.jec.util - package net.sf.jec.util
 
normalize(Object) - Static method in class net.sf.jec.ObjectConverter
Normalizes a Number: its minimum values equal 'null' objects.

O

ObjectConverter - class net.sf.jec.ObjectConverter.
ObjectsConverter instances provide methods for common object to object conversions and object to basic type conversions.
ObjectConverter() - Constructor for class net.sf.jec.ObjectConverter
 
Operator - class net.sf.jec.Operator.
Abstract class parent of every operator.
Operator() - Constructor for class net.sf.jec.Operator
Creates a new operator that nest another operator
Operator(Operator) - Constructor for class net.sf.jec.Operator
Creates a new operator that nest another operator
OrderByOperator - class net.sf.jec.namedop.OrderByOperator.
OrderByOperator sorts a Collection of elements by applying the argument operator to each element and comparing between the resulting values.
OrderByOperator() - Constructor for class net.sf.jec.namedop.OrderByOperator
Creates a new OrderByOperator

P

ParseException - exception net.sf.jec.ParseException.
Thrown when there's an error parsing an expression
ParseException(String) - Constructor for class net.sf.jec.ParseException
Constructs an instance of ParseException with the specified detail message.
PercentFunction - class net.sf.jec.functions.PercentFunction.
Direct and inverse maps between Date/Timestamps to String objects.
PercentFunction() - Constructor for class net.sf.jec.functions.PercentFunction
Creates a new instance of PercentFunction
parseString(String) - Method in class net.sf.jec.functions.CurrencyFormat
Parses an String expressed in a source currency type and converts it to a target currency type amount
parseString(String, String, String) - Method in class net.sf.jec.functions.CurrencyFormat
Parses an String expressed in a source currency type and converts it to a target currency type amount

S

SelectOperator - class net.sf.jec.namedop.SelectOperator.
SelectOperator operates over a Collection, selecting those elements that evaluate into 'true' when the boolean operator argument is applied.
SelectOperator() - Constructor for class net.sf.jec.namedop.SelectOperator
Creates a new SelectOperator
SumOperator - class net.sf.jec.namedop.SumOperator.
SumOperator acts over a collection of elements, applying its argument operator to each element, and adding the results into a total sum.
SumOperator() - Constructor for class net.sf.jec.namedop.SumOperator
Creates a new SumOperator
set(Object, String, Object) - Method in class net.sf.jec.ExpressionEval
Sets the expression expr over the context ctx to the specified value value, so assert(value==get(ctx, expr))
setArgumentOperators(Operator[]) - Method in class net.sf.jec.Operator
 
setChild(Element, String, Object) - Static method in class net.sf.jec.util.XMLHelper
Creates a new child element with the given name, removing any existing element for that name.
setNestedOperator(Operator) - Method in class net.sf.jec.Operator
Sets the operator's nested operator
setText(Element, String) - Static method in class net.sf.jec.util.XMLHelper
Sets element's text, erasing previous value
showFunctionString - Static variable in class net.sf.jec.Operator
 

T

TableOperator - class net.sf.jec.namedop.TableOperator.
TableOperator operates over an object collection and returns a table, result of applying operators for each column.
TableOperator() - Constructor for class net.sf.jec.namedop.TableOperator
Creates a new SumOperator
toBoolean(Object) - Static method in class net.sf.jec.ObjectConverter
Converts an object into a boolean basic type.
toDouble(Number) - Static method in class net.sf.jec.ObjectConverter
Converts a number into a double basic type
toDouble(Object) - Static method in class net.sf.jec.ObjectConverter
Converts an Object into a double basic type
toExpressionString() - Method in class net.sf.jec.AccessorOperator
Returns an expression String representation for this operator
toExpressionString() - Method in class net.sf.jec.ArithmeticOperator
Returns an expression String representation for this operator
toExpressionString() - Method in class net.sf.jec.AssignOperator
Returns an expression String representation for this operator
toExpressionString() - Method in class net.sf.jec.BooleanOperator
Returns an expression String representation for this operator
toExpressionString() - Method in class net.sf.jec.ConstantOperator
Returns an expression String representation for this operator
toExpressionString() - Method in class net.sf.jec.IndexerOperator
Returns an expression String representation for this operator
toExpressionString() - Method in class net.sf.jec.MethodOperator
Returns an expression String representation for this operator
toExpressionString() - Method in class net.sf.jec.Operator
Returns an expression String representation for this operator
toExpressionString() - Method in class net.sf.jec.namedop.AvgOperator
Returns an expression String representation for this operator
toExpressionString() - Method in class net.sf.jec.namedop.CountOperator
Returns an expression String representation for this operator
toExpressionString() - Method in class net.sf.jec.namedop.GroupByOperator
Returns an expression String representation for this operator
toExpressionString() - Method in class net.sf.jec.namedop.IfOperator
Returns an expression String representation for this operator
toExpressionString() - Method in class net.sf.jec.namedop.MaxOperator
Returns an expression String representation for this operator
toExpressionString() - Method in class net.sf.jec.namedop.MinOperator
Returns an expression String representation for this operator
toExpressionString() - Method in class net.sf.jec.namedop.OrderByOperator
Returns an expression String representation for this operator
toExpressionString() - Method in class net.sf.jec.namedop.SelectOperator
Returns an expression String representation for this operator
toExpressionString() - Method in class net.sf.jec.namedop.SumOperator
Returns an expression String representation for this operator
toExpressionString() - Method in class net.sf.jec.namedop.TableOperator
Returns an expression String representation for this operator
toFunctionString() - Method in class net.sf.jec.AccessorOperator
Returns a function representation String for this operator
toFunctionString() - Method in class net.sf.jec.ArithmeticOperator
Returns a function representation String for this operator
toFunctionString() - Method in class net.sf.jec.AssignOperator
Returns a function representation String for this operator
toFunctionString() - Method in class net.sf.jec.BooleanOperator
Returns a function representation String for this operator
toFunctionString() - Method in class net.sf.jec.ConstantOperator
Returns a function representation String for this operator
toFunctionString() - Method in class net.sf.jec.IndexerOperator
Returns a function representation String for this operator
toFunctionString() - Method in class net.sf.jec.MethodOperator
Returns a function representation String for this operator
toFunctionString() - Method in class net.sf.jec.Operator
Returns a function representation String for this operator
toFunctionString() - Method in class net.sf.jec.namedop.AvgOperator
Returns a function representation String for this operator
toFunctionString() - Method in class net.sf.jec.namedop.CountOperator
Returns a function representation String for this operator
toFunctionString() - Method in class net.sf.jec.namedop.GroupByOperator
Returns a function representation String for this operator
toFunctionString() - Method in class net.sf.jec.namedop.IfOperator
Returns a function representation String for this operator
toFunctionString() - Method in class net.sf.jec.namedop.MaxOperator
Returns a function representation String for this operator
toFunctionString() - Method in class net.sf.jec.namedop.MinOperator
Returns a function representation String for this operator
toFunctionString() - Method in class net.sf.jec.namedop.OrderByOperator
Returns a function representation String for this operator
toFunctionString() - Method in class net.sf.jec.namedop.SelectOperator
Returns a function representation String for this operator
toFunctionString() - Method in class net.sf.jec.namedop.SumOperator
Returns a function representation String for this operator
toFunctionString() - Method in class net.sf.jec.namedop.TableOperator
Returns a function representation String for this operator
toInt(Number) - Static method in class net.sf.jec.ObjectConverter
Converts a number into an int basic type
toInt(Object) - Static method in class net.sf.jec.ObjectConverter
Converts an Object into an int basic type
toString() - Method in class net.sf.jec.Operator
 
toString(double) - Method in class net.sf.jec.functions.CurrencyFormat
Formats an amount in the default currency type
toString(double, String, String) - Method in class net.sf.jec.functions.CurrencyFormat
Converts and formats an amount, given a source currency type, into a target currency format.

X

XMLHelper - class net.sf.jec.util.XMLHelper.
Helper class for commond XML handling tasks
XMLHelper() - Constructor for class net.sf.jec.util.XMLHelper
 

A B C D E F G I M N O P S T X

Copyright © 2003 SourceForge. All Rights Reserved.