org.ultrawork.wtk.mc.taglib
Class ContainerDefinitionTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--javax.servlet.jsp.tagext.BodyTagSupport
              |
              +--org.ultrawork.wtk.mc.taglib.ComponentDefinitionTagSupport
                    |
                    +--org.ultrawork.wtk.mc.taglib.ContainerDefinitionTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
PageDefinitionTag

public class ContainerDefinitionTag
extends ComponentDefinitionTagSupport

Creates a org.ultrawork.wtk.mc.Container component.

Version:
0.2
Author:
Nicolas Bonvin
See Also:
Serialized Form

Field Summary
private  Container container
           
private  java.lang.String layout
           
private  java.lang.String master
           
 
Fields inherited from class org.ultrawork.wtk.mc.taglib.ComponentDefinitionTagSupport
id, name, position, scope
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
pageContext, parent, values
 
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
ContainerDefinitionTag()
           
 
Method Summary
 Component createComponent()
           
 int doEndTag()
           
 int doStartTag()
           
 Container getContainer()
           
 java.lang.String getLayout()
          Gets the layout
 java.lang.String getMaster()
          Gets the master
 void release()
           
 void setLayout(java.lang.String layout)
          Sets the layout
 void setMaster(java.lang.String master)
          Sets the master
 
Methods inherited from class org.ultrawork.wtk.mc.taglib.ComponentDefinitionTagSupport
addComponentToParentContainer, getId, getName, getPosition, getScope, hasBody, setId, setName, setPosition, setScope, storeComponent
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

container

private Container container

layout

private java.lang.String layout

master

private java.lang.String master
Constructor Detail

ContainerDefinitionTag

public ContainerDefinitionTag()
Method Detail

getContainer

public Container getContainer()

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Overrides:
doEndTag in class ComponentDefinitionTagSupport
See Also:
TagSupport#doStartTag()

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport
See Also:
TagSupport#doStartTag()

createComponent

public Component createComponent()
                          throws javax.servlet.jsp.JspException
Overrides:
createComponent in class ComponentDefinitionTagSupport
See Also:
ComponentDefinition#createComponent()

getLayout

public java.lang.String getLayout()
Gets the layout
Returns:
Returns a String

setLayout

public void setLayout(java.lang.String layout)
Sets the layout
Parameters:
layout - The layout to set

release

public void release()
Overrides:
release in class ComponentDefinitionTagSupport

getMaster

public java.lang.String getMaster()
Gets the master
Returns:
Returns a String

setMaster

public void setMaster(java.lang.String master)
Sets the master
Parameters:
master - The master to set


Copyright 2002 - ultrawork