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

Quick Search    Search Deep

com.obinary.cms.taglibs
Class Include  view Include download Include.java

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bycom.obinary.cms.taglibs.Include
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 Include
extends javax.servlet.jsp.tagext.BodyTagSupport

User: marcelsalathe Date: Apr 28, 2003 Time: 11:20:59 AM

Version:
1.0

Field Summary
private  java.util.ArrayList attributes
           
private  com.obinary.cms.core.Container container
           
private  java.lang.String path
           
 
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
Include()
           
 
Method Summary
 int doAfterBody()
          after the body, this method sets attributes
 int doEndTag()
          end of includeTemplate tag, includes template and removes attributes
private  void include()
           
private  void includeFromParam()
           
private  void includeFromResource()
           
private  void removeAttributes()
           
 void setAttribute(java.lang.String name, java.lang.String value)
           
 void setContainer(com.obinary.cms.core.Container container)
          set the content object (type Container)
 void setPath(java.lang.String path)
          set the jsp path
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, doStartTag, getBodyContent, getPreviousOut, release, 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

container

private com.obinary.cms.core.Container container

path

private java.lang.String path

attributes

private java.util.ArrayList attributes
Constructor Detail

Include

public Include()
Method Detail

doAfterBody

public int doAfterBody()

after the body, this method sets attributes


doEndTag

public int doEndTag()

end of includeTemplate tag, includes template and removes attributes


removeAttributes

private void removeAttributes()

include

private void include()

includeFromResource

private void includeFromResource()

includeFromParam

private void includeFromParam()

setContainer

public void setContainer(com.obinary.cms.core.Container container)

set the content object (type Container)


setPath

public void setPath(java.lang.String path)

set the jsp path


setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.String value)