com.cc.framework.taglib.template
Class GetTag

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

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

Tag handler for the get tag.

Returns the contents of a specified JSP-fragment - it thus defiens a placemarker for a JSP-fragment in a template. The tag may only be used within a <template:insert>-tag. It can thus, in particular, be used in a JSP template, since these are located in the Scope of a <template:insert>-tag!

Since:
1.0
Version:
$Revision: 1.13 $
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
GetTag()
          Constructor
 
Method Summary
 int doStartTag()
           
 void release()
           
 void setName(java.lang.String name)
          Specifies the logical name of a JSP-fragment.
 
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
 

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

GetTag

public GetTag()
Constructor

Method Detail

release

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

doStartTag

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

setName

public void setName(java.lang.String name)
Specifies the logical name of a JSP-fragment. Note: The name must match with a placeholder in the JSP template used. The template is defined in the enclosing <template:insert>-tag.

Parameters:
name - Specifies the logical name of a JSP-fragment


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