org.apache.struts.taglib.nested
Class NestedWriteNestingTag

java.lang.Object
  extended byBodyTagSupport
      extended byorg.apache.struts.taglib.nested.NestedWriteNestingTag

public class NestedWriteNestingTag
extends 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:
$Revision: 1.4 $
Author:
Arron Bates
See Also:
Serialized Form

Field Summary
private  boolean filter
           
private  java.lang.String originalProperty
           
private  java.lang.String property
           
 
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 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 setProperty(java.lang.String newProperty)
          Setter method for the property property
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filter

private boolean filter

property

private java.lang.String property

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

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 JspException
Overriding method of the heart of the tag. Gets the relative property and tells the JSP engine to evaluate its body content.

Returns:
int JSP continuation directive.
Throws:
JspException

doEndTag

public int doEndTag()
             throws JspException
Throws:
JspException

release

public void release()
JSP method to release all resources held by the tag.



Copyright ? 2000-2004 - Apache Software Foundation