org.apache.struts.taglib.nested
Class NestedWriteNestingTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--javax.servlet.jsp.tagext.BodyTagSupport
              |
              +--org.apache.struts.taglib.nested.NestedWriteNestingTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

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

NestedWriteNestingTag. Created so developers could have a more elegant way of getting to the underlying nested property their tag properties are referencing.

Since:
Struts 1.1
Version:
$Rev: 54929 $
See Also:
Serialized Form

Field Summary
private  boolean filter
           
private  java.lang.String id
           
private  java.lang.String originalProperty
           
private  java.lang.String property
           
 
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_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
NestedWriteNestingTag()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
          Overriding method of the heart of the tag.
 boolean getFilter()
          Getter method for the filter property
 java.lang.String getId()
          Getter method for the id property
 java.lang.String getProperty()
          Getter method for the property property
 void release()
          JSP method to release all resources held by the tag.
 void setFilter(boolean newFilter)
          Setter method for the filter property
 void setId(java.lang.String id)
          Setter method for the id property
 void setProperty(java.lang.String newProperty)
          Setter method for the property property
 
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

filter

private boolean filter

property

private java.lang.String property

id

private java.lang.String id

originalProperty

private java.lang.String originalProperty
Constructor Detail

NestedWriteNestingTag

public NestedWriteNestingTag()
Method Detail

getProperty

public java.lang.String getProperty()
Getter method for the property property
Returns:
String value of the property property

setProperty

public void setProperty(java.lang.String newProperty)
Setter method for the property property
Parameters:
newProperty - new value for the property property

getId

public java.lang.String getId()
Getter method for the id property
Overrides:
getId in class javax.servlet.jsp.tagext.TagSupport
Returns:
String value for the id property

setId

public void setId(java.lang.String id)
Setter method for the id property
Overrides:
setId in class javax.servlet.jsp.tagext.TagSupport
Parameters:
id - new value for the id property

getFilter

public boolean getFilter()
Getter method for the filter property
Returns:
String value of the filter property

setFilter

public void setFilter(boolean newFilter)
Setter method for the filter property
Parameters:
newFilter - new value for the filter property

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Overriding method of the heart of the tag. Gets the relative property and tells the JSP engine to evaluate its body content.
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport
Returns:
int JSP continuation directive.

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Overrides:
doEndTag in class javax.servlet.jsp.tagext.BodyTagSupport

release

public void release()
JSP method to release all resources held by the tag.
Overrides:
release in class javax.servlet.jsp.tagext.BodyTagSupport


Copyright 2000-2006 - The Apache Software Foundation