Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.opencms.flex.jsp
Class CmsJspTagTemplate  view CmsJspTagTemplate download CmsJspTagTemplate.java

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bycom.opencms.flex.jsp.CmsJspTagTemplate
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class CmsJspTagTemplate
extends javax.servlet.jsp.tagext.BodyTagSupport

Used to select various template elements form a JSP template that is included in another file.

Version:
$Revision: 1.6.2.1 $

Field Summary
static java.lang.String C_TEMPLATE_ELEMENT
          Template part identifier
private  java.lang.String m_element
           
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
CmsJspTagTemplate()
           
 
Method Summary
 int doStartTag()
          Default processing of the start tag returning EVAL_BODY_BUFFERED.
 java.lang.String getElement()
          Returns the include page/file target.
 void release()
          Release state.
 void setElement(java.lang.String element)
          Sets the include page/file target.
static boolean templateTagAction(java.lang.String element, javax.servlet.ServletRequest req)
          Internal action method.
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doEndTag, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
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
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

m_element

private java.lang.String m_element

C_TEMPLATE_ELEMENT

public static final java.lang.String C_TEMPLATE_ELEMENT
Template part identifier

See Also:
Constant Field Values
Constructor Detail

CmsJspTagTemplate

public CmsJspTagTemplate()
Method Detail

setElement

public void setElement(java.lang.String element)
Sets the include page/file target.


getElement

public java.lang.String getElement()
Returns the include page/file target.


release

public void release()
Description copied from class: javax.servlet.jsp.tagext.BodyTagSupport
Release state.


doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Description copied from class: javax.servlet.jsp.tagext.BodyTagSupport
Default processing of the start tag returning EVAL_BODY_BUFFERED.


templateTagAction

public static boolean templateTagAction(java.lang.String element,
                                        javax.servlet.ServletRequest req)
Internal action method.