|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springmodules.validation.bean.rule.resolver.StaticErrorArgumentsResolver
public class StaticErrorArgumentsResolver
An ErrorArgumentsResolver
that is statically pre-configured with the error arguments, that is, the
arguments are not dependent on the validated object.
Constructor Summary | |
---|---|
StaticErrorArgumentsResolver()
Constructs a new StaticErrorArgumentsResolver with no arguments. |
|
StaticErrorArgumentsResolver(Object[] arguments)
Constructs a new StaticErrorArgumentsResolver with given static arguments. |
Method Summary | |
---|---|
Object[] |
resolveArguments(Object obj)
Returns the arguments that are configured in this resolver. |
void |
setArguments(Object[] arguments)
Sets the static arguments to be returned by this resolver. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StaticErrorArgumentsResolver()
public StaticErrorArgumentsResolver(Object[] arguments)
arguments
- The given static arguments.Method Detail |
---|
public Object[] resolveArguments(Object obj)
resolveArguments
in interface ErrorArgumentsResolver
obj
- The validated object.
ErrorArgumentsResolver.resolveArguments(Object)
public void setArguments(Object[] arguments)
arguments
- The static arguments to be returned by this resolver.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |