org.springmodules.validation.util.fel.parser
Class ValangFunctionExpressionParser

java.lang.Object
  extended by org.springmodules.validation.util.context.BasicContextAware
      extended by org.springmodules.validation.valang.parser.SimpleValangBased
          extended by org.springmodules.validation.util.fel.parser.ValangFunctionExpressionParser
All Implemented Interfaces:
BeanFactoryAware, ApplicationContextAware, ApplicationEventPublisherAware, MessageSourceAware, ResourceLoaderAware, ContextAware, FunctionExpressionParser, ValangBased

public class ValangFunctionExpressionParser
extends SimpleValangBased
implements FunctionExpressionParser

A FunctionExpressionParser implementation that knows how to parse valang function expressions.

Author:
Uri Boness

Nested Class Summary
protected  class ValangFunctionExpressionParser.ValangFunction
          A function that is associated with a valang function expression.
 
Field Summary
 
Fields inherited from class org.springmodules.validation.util.context.BasicContextAware
applicationContext, applicationEventPublisher, beanFactory, messageSource, resourceLoader
 
Constructor Summary
ValangFunctionExpressionParser()
           
 
Method Summary
 Function parse(String expression)
          Parses the given function expression and returns the parsed function.
 
Methods inherited from class org.springmodules.validation.valang.parser.SimpleValangBased
addCustomFunction, createValangParser, createValangParser, findAllCustomFunctionsInApplicationContext, getAllCustomFunctions, getCustomFunctions, getDateParsers, initValang, setCustomFunctions, setDateParsers
 
Methods inherited from class org.springmodules.validation.util.context.BasicContextAware
initLifecycle, initLifecycle, setApplicationContext, setApplicationEventPublisher, setBeanFactory, setMessageSource, setResourceLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContext
 
Methods inherited from interface org.springframework.beans.factory.BeanFactoryAware
setBeanFactory
 
Methods inherited from interface org.springframework.context.ResourceLoaderAware
setResourceLoader
 
Methods inherited from interface org.springframework.context.MessageSourceAware
setMessageSource
 
Methods inherited from interface org.springframework.context.ApplicationEventPublisherAware
setApplicationEventPublisher
 

Constructor Detail

ValangFunctionExpressionParser

public ValangFunctionExpressionParser()
Method Detail

parse

public Function parse(String expression)
Description copied from interface: FunctionExpressionParser
Parses the given function expression and returns the parsed function.

Specified by:
parse in interface FunctionExpressionParser
Parameters:
expression - The function expression.
Returns:
The parsed function.


Copyright © 2009. All Rights Reserved.