com.acsinet_solutions.cetia4.tags.pager
Class AbstractBlockTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.jstl.core.ConditionalTagSupport
          extended by com.acsinet_solutions.cetia4.tags.support.LogConditionalTagSupport
              extended by com.acsinet_solutions.cetia4.tags.pager.AbstractBlockConditionTag
                  extended by com.acsinet_solutions.cetia4.tags.pager.AbstractBlockTag
All Implemented Interfaces:
BlockAccessor, java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally
Direct Known Subclasses:
FirstTag, LastTag, NextTag, PreviousTag

public abstract class AbstractBlockTag
extends AbstractBlockConditionTag
implements BlockAccessor

Base class for first, previous, next and last tags.

Author:
Santiago Arriaga
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
AbstractBlockTag()
           
 
Method Summary
protected  boolean checkBlock(PagingBlock block)
          Check the current block and return a response.
 PagingBlock getPagingBlock()
          Return the current paging block in scope
 void release()
           
 void setVar(java.lang.String var)
          The variable that will hold the block, if any.
 
Methods inherited from class com.acsinet_solutions.cetia4.tags.pager.AbstractBlockConditionTag
condition, getBlock
 
Methods inherited from class com.acsinet_solutions.cetia4.tags.support.LogConditionalTagSupport
doCatch, doFinally, getConfiguration, getLocale, getLogger, getPortalPath, getRequest, getServletContext, getSession
 
Methods inherited from class javax.servlet.jsp.jstl.core.ConditionalTagSupport
doStartTag, setScope
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBlockTag

public AbstractBlockTag()
Method Detail

setVar

public void setVar(java.lang.String var)
The variable that will hold the block, if any. this method is overriden with a different meaning, so if there is a problem, the base convenience class must be changed.

Overrides:
setVar in class javax.servlet.jsp.jstl.core.ConditionalTagSupport
See Also:
PagingBlock

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.servlet.jsp.jstl.core.ConditionalTagSupport

getPagingBlock

public PagingBlock getPagingBlock()
Description copied from interface: BlockAccessor
Return the current paging block in scope

Specified by:
getPagingBlock in interface BlockAccessor

checkBlock

protected final boolean checkBlock(PagingBlock block)
Check the current block and return a response.

Overrides:
checkBlock in class AbstractBlockConditionTag