org.springmodules.validation.valang.functions
Class EmailFunction

java.lang.Object
  extended by org.springmodules.validation.valang.functions.AbstractFunction
      extended by org.springmodules.validation.valang.functions.EmailFunction
All Implemented Interfaces:
Function

public class EmailFunction
extends AbstractFunction

Email function. Takes one argument. Converts the argument to a string using the toString() method, and checks whether the returned string is a valid email address.

Since:
May 26, 2006
Author:
Uri Boness

Constructor Summary
EmailFunction(Function[] arguments, int line, int column)
           
 
Method Summary
protected  java.lang.Object doGetResult(java.lang.Object target)
           
 
Methods inherited from class org.springmodules.validation.valang.functions.AbstractFunction
definedExactNumberOfArguments, definedMaxNumberOfArguments, definedMinNumberOfArguments, getArguments, getResult, getTemplate, init, isAutowireByName, isAutowireByType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailFunction

public EmailFunction(Function[] arguments,
                     int line,
                     int column)
Method Detail

doGetResult

protected java.lang.Object doGetResult(java.lang.Object target)
                                throws java.lang.Exception
Specified by:
doGetResult in class AbstractFunction
Throws:
java.lang.Exception


Copyright © 2005. All Rights Reserved.