com.octo.captcha.module.taglib
Class BaseCaptchaTag

java.lang.Object
  extended by com.octo.captcha.module.taglib.BaseCaptchaTag
Direct Known Subclasses:
MessageTag, QuestionTag

public abstract class BaseCaptchaTag
extends java.lang.Object

Defines the service for the module.


Field Summary
protected  PageContext pageContext
           
protected  Tag parent
           
 
Constructor Summary
BaseCaptchaTag()
           
 
Method Summary
abstract  int doEndTag()
           
 int doStartTag()
           
 javax.servlet.jsp.tagext.Tag getParent()
           
protected abstract  CaptchaService getService()
           
 void release()
           
 void setPageContext(javax.servlet.jsp.PageContext pageContext)
           
 void setParent(javax.servlet.jsp.tagext.Tag tag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pageContext

protected PageContext pageContext

parent

protected Tag parent
Constructor Detail

BaseCaptchaTag

public BaseCaptchaTag()
Method Detail

setPageContext

public void setPageContext(javax.servlet.jsp.PageContext pageContext)

setParent

public void setParent(javax.servlet.jsp.tagext.Tag tag)

getParent

public javax.servlet.jsp.tagext.Tag getParent()

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

release

public void release()

doEndTag

public abstract int doEndTag()
                      throws JspException
Throws:
JspException

getService

protected abstract CaptchaService getService()


Copyright 2003-2009 JCaptcha. All Rights Reserved.