org.springmodules.validation.valang.functions
Class EmailFunction
java.lang.Object
org.springmodules.validation.valang.functions.AbstractFunction
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
Methods inherited from class org.springmodules.validation.valang.functions.AbstractFunction |
definedExactNumberOfArguments, definedMaxNumberOfArguments, definedMinNumberOfArguments, getArguments, getResult, getTemplate, init, isAutowireByName, isAutowireByType, setArguments, setTemplate, setTemplate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmailFunction
public EmailFunction(Function[] arguments,
int line,
int column)
doGetResult
protected Object doGetResult(Object target)
throws Exception
- Description copied from class:
AbstractFunction
- Processes result for subclasses.
- Specified by:
doGetResult
in class AbstractFunction
- Throws:
Exception
Copyright © 2009. All Rights Reserved.