org.springmodules.validation.valang.functions
Class RegExFunction
java.lang.Object
org.springmodules.validation.valang.functions.AbstractFunction
org.springmodules.validation.valang.functions.RegExFunction
- All Implemented Interfaces:
- Function
public class RegExFunction
- extends AbstractFunction
Regular expression match function. Takes two arguments: the pattern as a string and the string
to be matched. The toString method of the second parameter value is called to retrieve the
string value. This function is not null-safe.
- Since:
- Sep 15, 2005
- Author:
- Steven Devijver
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 |
RegExFunction
public RegExFunction(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.