|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.octo.captcha.engine.MockCaptchaEngine
public class MockCaptchaEngine
Constructor Summary | |
---|---|
MockCaptchaEngine()
|
Method Summary | |
---|---|
CaptchaFactory[] |
getFactories()
|
Captcha |
getNextCaptcha()
This return a new captcha. |
Captcha |
getNextCaptcha(java.util.Locale locale)
This return a new captcha. |
void |
setFactories(CaptchaFactory[] factories)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockCaptchaEngine()
Method Detail |
---|
public Captcha getNextCaptcha()
getNextCaptcha
in interface CaptchaEngine
public Captcha getNextCaptcha(java.util.Locale locale)
getNextCaptcha
in interface CaptchaEngine
locale
- the desired locale
public CaptchaFactory[] getFactories()
getFactories
in interface CaptchaEngine
public void setFactories(CaptchaFactory[] factories) throws CaptchaEngineException
setFactories
in interface CaptchaEngine
factories
- new captcha factories for this engine
CaptchaEngineException
- if the factories are invalid for this engine
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |