org.ultrawork.wtk.mc.taglib
Class ComponentWriterTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--org.ultrawork.wtk.mc.taglib.ComponentWriterTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

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

Writes a org.ultrawork.wtk.mc.Component to the response.

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

Field Summary
private  java.lang.String name
           
private  java.lang.String position
           
private  java.lang.String scope
           
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext, parent, values
 
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
ComponentWriterTag()
           
 
Method Summary
 int doStartTag()
           
 java.lang.String getName()
          Gets the name
 java.lang.String getPosition()
          Gets the position
 java.lang.String getScope()
          Gets the scope
 void release()
           
 void setName(java.lang.String name)
          Sets the name
 void setPosition(java.lang.String position)
          Sets the position
 void setScope(java.lang.String scope)
          Sets the scope
 
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, registerNatives, toString, wait, wait, wait
 

Field Detail

name

private java.lang.String name

position

private java.lang.String position

scope

private java.lang.String scope
Constructor Detail

ComponentWriterTag

public ComponentWriterTag()
Method Detail

doStartTag

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

getName

public java.lang.String getName()
Gets the name
Returns:
Returns a String

setName

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

getScope

public java.lang.String getScope()
Gets the scope
Returns:
Returns a String

setScope

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

getPosition

public java.lang.String getPosition()
Gets the position
Returns:
Returns a String

setPosition

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

release

public void release()
Overrides:
release in class javax.servlet.jsp.tagext.TagSupport


Copyright © 2002 - ultrawork