static class CaptchaHelper.ValidableCaptcha extends Object
Modifier and Type | Field and Description |
---|---|
private Captcha |
_captcha |
private Date |
_date |
private boolean |
_valid |
Constructor and Description |
---|
ValidableCaptcha(Captcha c)
Build the captcha wrapper
|
Modifier and Type | Method and Description |
---|---|
Captcha |
getCaptcha()
Get the wrapper captcha
|
void |
invalidate()
Mark the captcha as invalid
|
boolean |
isValid()
Determine if the validity date has not expired
|
private boolean _valid
public ValidableCaptcha(Captcha c)
c
- the captcha to wrappublic boolean isValid()
public Captcha getCaptcha()
public void invalidate()