Uses of Interface
org.springmodules.validation.valang.functions.Function

Packages that use Function
org.springmodules.validation.bean.rule.resolver   
org.springmodules.validation.valang.functions   
org.springmodules.validation.valang.javascript   
org.springmodules.validation.valang.parser   
org.springmodules.validation.valang.predicates   
 

Uses of Function in org.springmodules.validation.bean.rule.resolver
 

Methods in org.springmodules.validation.bean.rule.resolver that return Function
protected  Function ValangErrorArgumentsResolver.parseFunction(String expression, Map functionsByName)
          Parses a valang Function from the given argument expression and custom functions.
 

Uses of Function in org.springmodules.validation.valang.functions
 

Classes in org.springmodules.validation.valang.functions that implement Function
 class AbstractFunction
          Base class for functions.
 class AbstractInitializableFunction
           
 class AbstractMathFunction
           
 class AddFunction
           
 class BeanPropertyFunction
          Function taking the value from a bean property or a java.util.Map instance.
 class DateLiteralFunction
          Literal function that re-parses date string every time the result is asked for.
 class DivideFunction
           
 class EmailFunction
          Email function.
 class EnumLiteralFunction
          Container for an enum value.
 class InRoleFunction
          A function that accepts a one string argument that indicates a security role.
 class LengthOfFunction
          Gets the length of a string.
 class LiteralFunction
          Container class for a literal function.
 class LowerCaseFunction
          Converts a string to lower case.
 class MapEntryFunction
           
 class ModuloFunction
           
 class MultiplyFunction
           
 class NotFunction
          NOT operation on boolean values.
 class RegExFunction
          Regular expression match function.
 class ResolveFunction
           
 class SubtractFunction
           
 class TargetBeanFunction
          This function returns the target bean.
 class UpperCaseFunction
          Converts a string to upper case.
 

Methods in org.springmodules.validation.valang.functions that return Function
 Function[] AbstractInitializableFunction.getArguments()
           
 Function[] AbstractFunction.getArguments()
          Gets arguments
 Function FunctionWrapper.getFunction()
          Gets function.
 Function MapEntryFunction.getKeyFunction()
           
 Function AbstractMathFunction.getLeftFunction()
           
 Function MapEntryFunction.getMapFunction()
           
 Function AbstractMathFunction.getRightFunction()
           
 

Methods in org.springmodules.validation.valang.functions with parameters of type Function
protected abstract  Object AbstractInitializableFunction.getResult(Object target, Function[] arguments)
           
 void AbstractInitializableFunction.init(Function[] arguments, int line, int column)
           
protected  void AbstractFunction.setArguments(Function[] arguments)
          Sets arguments.
 void ConfigurableFunction.setArguments(int expectedNumberOfArguments, Function[] arguments, int line, int column)
          Sets arguments, line number, and column number.
 void FunctionWrapper.setFunction(Function function)
          Sets function.
protected abstract  void AbstractInitializableFunction.validateArguments(Function[] arguments)
           
 

Constructors in org.springmodules.validation.valang.functions with parameters of type Function
AbstractFunction(Function[] arguments, int line, int column)
          Constructor Note: Sub classes must implement this constructor unless they implement ConfigurableConstructor.
AbstractInitializableFunction(Function[] arguments, int line, int column)
           
AbstractMathFunction(Function leftFunction, Function rightFunction, int line, int column)
           
AddFunction(Function leftFunction, Function rightFunction, int line, int column)
           
DivideFunction(Function leftFunction, Function rightFunction, int line, int column)
           
EmailFunction(Function[] arguments, int line, int column)
           
InRoleFunction(Function[] arguments, int line, int column)
           
LengthOfFunction(Function[] arguments, int line, int column)
           
LowerCaseFunction(Function[] arguments, int line, int column)
           
MapEntryFunction(Function mapFunction, Function keyFunction, int beginLine, int beginColumn)
           
ModuloFunction(Function leftFunction, Function rightFunction, int line, int column)
           
MultiplyFunction(Function leftFunction, Function rightFunction, int line, int column)
           
NotFunction(Function[] arguments, int line, int column)
           
RegExFunction(Function[] arguments, int line, int column)
           
ResolveFunction(Function[] arguments, int line, int column)
           
SubtractFunction(Function leftFunction, Function rightFunction, int line, int column)
           
UpperCaseFunction(Function[] arguments, int line, int column)
           
 

Uses of Function in org.springmodules.validation.valang.javascript
 

Methods in org.springmodules.validation.valang.javascript with parameters of type Function
protected  String ValangJavaScriptTranslator.getNameForCustomFunction(Function f)
           
 

Uses of Function in org.springmodules.validation.valang.parser
 

Methods in org.springmodules.validation.valang.parser that return Function
 Function ValangParser.additiveExpr(Function fieldFunction)
           
 Function ValangParser.beanProperty(Function fieldFunction)
           
 Function ValangParser.beanPropertyOrLiteral(Function fieldFunction)
           
 Function ValangParser.function(Function fieldFunction)
           
 Function ValangVisitor.getFunction(String name, Function[] arguments, int line, int column)
           
 Function DefaultVisitor.getFunction(String name, Function[] arguments, int line, int column)
          Get a function based on the function name and arguments.
 Function DefaultVisitor.getFunction(String className, String propName)
          Get bytecode generation function.
 Function ValangParser.literal()
           
 Function ValangParser.multiplicativeExpr(Function fieldFunction)
           
 Function ValangParser.path()
           
 Function ValangParser.subtractiveExpr(Function fieldFunction)
           
 

Methods in org.springmodules.validation.valang.parser with parameters of type Function
 Function ValangParser.additiveExpr(Function fieldFunction)
           
 Function ValangParser.beanProperty(Function fieldFunction)
           
 Function ValangParser.beanPropertyOrLiteral(Function fieldFunction)
           
 org.apache.commons.collections.Predicate ValangParser.expression(Function fieldFunction)
           
 Function ValangParser.function(Function fieldFunction)
           
 Function ValangVisitor.getFunction(String name, Function[] arguments, int line, int column)
           
 Function DefaultVisitor.getFunction(String name, Function[] arguments, int line, int column)
          Get a function based on the function name and arguments.
 org.apache.commons.collections.Predicate DefaultVisitor.getPredicate(Function leftFunction, Operator operator, Function rightFunction, int line, int column)
          Gets predicate.
 Function ValangParser.multiplicativeExpr(Function fieldFunction)
           
 org.apache.commons.collections.Predicate ValangParser.not(Function fieldFunction)
           
 org.apache.commons.collections.Predicate ValangParser.predicate(Function fieldFunction)
           
 org.apache.commons.collections.Predicate ValangParser.predicates(Function fieldFunction)
           
 Function ValangParser.subtractiveExpr(Function fieldFunction)
           
 

Uses of Function in org.springmodules.validation.valang.predicates
 

Methods in org.springmodules.validation.valang.predicates that return Function
 Function AbstractPropertyPredicate.getLeftFunction()
          Gets left function.
 Function AbstractPropertyPredicate.getRightFunction()
          Gets right function.
 

Methods in org.springmodules.validation.valang.predicates that return types with arguments of type Function
 Collection<Function> BasicValidationRule.getErrorArgs()
          Get error args.
 

Constructors in org.springmodules.validation.valang.predicates with parameters of type Function
AbstractCompareTestPredicate(Function leftFunction, Operator operator, Function rightFunction, int line, int column, String operatorSymbol)
          Constructor taking two functions and an operator.
AbstractPropertyPredicate(Function leftFunction, Operator operator, Function rightFunction, int line, int column)
          Constructor
BetweenTestPredicate(Function leftFunction, Operator operator, Function rightFunction, int line, int column)
          Constructor taking two functions and an operator.
EqualsTestPredicate(Function leftFunction, Operator operator, Function rightFunction, int line, int column)
          Constructor taking two functions and an operator.
GenericTestPredicate(Function leftFunction, Operator operator, Function rightFunction, int line, int column)
          Constructor taking two functions and an operator.
GreaterThanOrEqualTestPredicate(Function leftFunction, Operator operator, Function rightFunction, int line, int column)
          Constructor taking two functions and an operator.
GreaterThanTestPredicate(Function leftFunction, Operator operator, Function rightFunction, int line, int column)
          Constructor taking two functions and an operator.
InTestPredicate(Function leftFunction, Operator operator, Function rightFunction, int line, int column)
          Constructor taking two functions and an operator.
LessThanOrEqualTestPredicate(Function leftFunction, Operator operator, Function rightFunction, int line, int column)
          Constructor taking two functions and an operator.
LessThanTestPredicate(Function leftFunction, Operator operator, Function rightFunction, int line, int column)
          Constructor taking two functions and an operator.
NotBetweenTestPredicate(Function leftFunction, Operator operator, Function rightFunction, int line, int column)
          Constructor taking two functions and an operator.
NotEqualsTestPredicate(Function leftFunction, Operator operator, Function rightFunction, int line, int column)
          Constructor taking two functions and an operator.
NotInTestPredicate(Function leftFunction, Operator operator, Function rightFunction, int line, int column)
          Constructor taking two functions and an operator.
 

Constructor parameters in org.springmodules.validation.valang.predicates with type arguments of type Function
BasicValidationRule(String defaultPropertyName, org.apache.commons.collections.Predicate predicate, org.apache.commons.collections.Predicate wherePredicate, String errorKey, String errorMessage, Collection<Function> errorArgs)
          Constructor.
 



Copyright © 2009. All Rights Reserved.