| java.lang.Object org.iscreen.impl.ValidationServiceValidator org.iscreen.mvel.MvelValidationServiceValidator
Method Summary | |
protected Object | mapObject(InternalValidatorContext context, ContextBean contextBean, Object obj) Handle the mapping of the object being validated to the property
that will be validated (may be the object, itself).
Parameters: context - The ValidatorContext Parameters: contextBean - The ContextBean Parameters: obj - The object being validated. | protected boolean | shouldExecute(InternalValidatorContext context, ContextBean root, Object obj) Determines whether the inclusion/call to the validation set
should occur.
Parameters: context - The ValidatorContext Parameters: root - The ContextBean Parameters: obj - The object being validated. | protected boolean | shouldIterate(InternalValidatorContext context, ContextBean root, Object obj) Determines whether we're iterating over the mapped object.
Parameters: context - The ValidatorContext Parameters: root - The ContextBean Parameters: obj - The object being validated. |
mapObject | protected Object mapObject(InternalValidatorContext context, ContextBean contextBean, Object obj)(Code) | | Handle the mapping of the object being validated to the property
that will be validated (may be the object, itself).
Parameters: context - The ValidatorContext Parameters: contextBean - The ContextBean Parameters: obj - The object being validated. Returns the object that will be forwarded to the calledvalidation set. |
shouldExecute | protected boolean shouldExecute(InternalValidatorContext context, ContextBean root, Object obj)(Code) | | Determines whether the inclusion/call to the validation set
should occur.
Parameters: context - The ValidatorContext Parameters: root - The ContextBean Parameters: obj - The object being validated. Returns true if the validation set should be called/executed. |
shouldIterate | protected boolean shouldIterate(InternalValidatorContext context, ContextBean root, Object obj)(Code) | | Determines whether we're iterating over the mapped object.
Parameters: context - The ValidatorContext Parameters: root - The ContextBean Parameters: obj - The object being validated. Returns true if we should iterate. |
Methods inherited from org.iscreen.impl.ValidationServiceValidator | protected InternalValidatorContext createNewContext(ContextBean newContextBean, Locale newLocale, InternalValidatorContext oldContext)(Code)(Java Doc) public DocumentationIterator getDoc()(Code)(Java Doc) public String getIfExpression()(Code)(Java Doc) public String getIterateExpression()(Code)(Java Doc) public String getMapExpression()(Code)(Java Doc) public String getName()(Code)(Java Doc) public boolean isFailFast()(Code)(Java Doc) abstract protected Object mapObject(InternalValidatorContext context, ContextBean contextBean, Object obj)(Code)(Java Doc) public void setFailFast(boolean flag)(Code)(Java Doc) public void setIfExpression(String exp)(Code)(Java Doc) public void setIterateExpression(String exp)(Code)(Java Doc) public void setMapExpression(String exp)(Code)(Java Doc) public void setName(String theName)(Code)(Java Doc) abstract protected boolean shouldExecute(InternalValidatorContext context, ContextBean contextBean, Object obj)(Code)(Java Doc) abstract protected boolean shouldIterate(InternalValidatorContext context, ContextBean contextBean, Object obj)(Code)(Java Doc) public boolean validate(InternalValidatorContext context, ContextBean contextBean, Object obj)(Code)(Java Doc)
|
|
|