com.cc.framework.taglib.template
Class PresentTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.cc.framework.taglib.template.PresentTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
NotPresentTag

public class PresentTag
extends javax.servlet.jsp.tagext.TagSupport

Tag handler for the present tag.

Since:
1.0
Version:
$Revision: 1.14 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private  java.lang.String name
          Field name
private static long serialVersionUID
          Serial Version UID
 
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
PresentTag()
          Constructor
 
Method Summary
protected  boolean condition()
          method condition
 int doEndTag()
           
 int doStartTag()
           
 java.lang.String getName()
          Returns the Name
 void release()
           
 void setName(java.lang.String name)
          Sets the Name
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, 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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values

name

private java.lang.String name
Field name

Constructor Detail

PresentTag

public PresentTag()
Constructor

Method Detail

doStartTag

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

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException
See Also:
Tag.doEndTag()

condition

protected boolean condition()
                     throws javax.servlet.jsp.JspException
method condition

Returns:
boolean boolean result of the evaluation
Throws:
javax.servlet.jsp.JspException - If an error occurs

release

public void release()
See Also:
Tag.release()

setName

public void setName(java.lang.String name)
Sets the Name

Parameters:
name - Name of the template

getName

public java.lang.String getName()
Returns the Name

Returns:
String


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.