com.cc.framework.taglib.template
Class IncludeTag

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

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

Mit Hilfe dieses Tags wird eine, durch das base lokalisierbare, Resource in den HTTPResponse eingebunden

Version:
$Revision: 1.10 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private  java.lang.String base
          Base Directory or resource key
private  boolean flush
          Buffer flushing or not
private  java.lang.String localeName
          Locale Name
private  java.lang.String page
          Name of the JSP page to include
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
IncludeTag()
           
 
Method Summary
 int doStartTag()
           
 void release()
           
 void setBase(java.lang.String string)
          Sets the base directory
 void setFlush(java.lang.String flush)
          Directs the element to flush the page
 void setLocale(java.lang.String loc)
           
 void setPage(java.lang.String page)
          Sets the page
 void setPageContext(javax.servlet.jsp.PageContext pc)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, 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

base

private java.lang.String base
Base Directory or resource key


page

private java.lang.String page
Name of the JSP page to include


localeName

private java.lang.String localeName
Locale Name


flush

private boolean flush
Buffer flushing or not

Constructor Detail

IncludeTag

public IncludeTag()
Method Detail

setPageContext

public void setPageContext(javax.servlet.jsp.PageContext pc)
See Also:
Tag.setPageContext(PageContext pc)

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()

setBase

public void setBase(java.lang.String string)
Sets the base directory

Parameters:
string - pathname or resource key

setPage

public void setPage(java.lang.String page)
Sets the page

Parameters:
page - page name

setLocale

public void setLocale(java.lang.String loc)
Parameters:
loc - Locale

setFlush

public void setFlush(java.lang.String flush)
              throws javax.servlet.jsp.JspException
Directs the element to flush the page

Parameters:
flush - True, if the page should be flushed
Throws:
javax.servlet.jsp.JspException - If the Argument can't be converted to boolean


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