org.apache.struts.taglib.bean
Class WriteTag

org.apache.struts.taglib.bean.WriteTag

public class WriteTag

Tag that retrieves the specified property of the specified bean, converts it to a String representation (if necessary), and writes it to the current output stream, optionally filtering characters that are sensitive in HTML.

Version:
$Revision: 1.10 $ $Date: 2001/02/12 01:26:58 $
Author:
Craig R. McClanahan

Field Summary
protected  boolean filter
          Filter the rendered output for characters that are sensitive in HTML?
protected  boolean ignore
          Should we ignore missing beans and simply output nothing?
protected  java.lang.String name
          Name of the bean that contains the data we will be rendering.
protected  java.lang.String property
          Name of the property to be accessed on the specified bean.
protected  java.lang.String scope
          The scope to be searched to retrieve the specified bean.
 
Constructor Summary
WriteTag()
           
 
Method Summary
 int doStartTag()
          Process the start tag.
 boolean getFilter()
           
 boolean getIgnore()
           
 java.lang.String getName()
           
 java.lang.String getProperty()
           
 java.lang.String getScope()
           
 void release()
          Release all allocated resources.
 void setFilter(boolean filter)
           
 void setIgnore(boolean ignore)
           
 void setName(java.lang.String name)
           
 void setProperty(java.lang.String property)
           
 void setScope(java.lang.String scope)
           
 

Field Detail

filter

protected boolean filter
Filter the rendered output for characters that are sensitive in HTML?

ignore

protected boolean ignore
Should we ignore missing beans and simply output nothing?

name

protected java.lang.String name
Name of the bean that contains the data we will be rendering.

property

protected java.lang.String property
Name of the property to be accessed on the specified bean.

scope

protected java.lang.String scope
The scope to be searched to retrieve the specified bean.
Constructor Detail

WriteTag

public WriteTag()
Method Detail

getFilter

public boolean getFilter()

setFilter

public void setFilter(boolean filter)

getIgnore

public boolean getIgnore()

setIgnore

public void setIgnore(boolean ignore)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getProperty

public java.lang.String getProperty()

setProperty

public void setProperty(java.lang.String property)

getScope

public java.lang.String getScope()

setScope

public void setScope(java.lang.String scope)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Process the start tag.
Throws:
JspException - if a JSP exception has occurred

release

public void release()
Release all allocated resources.


Copyright © 2000-2002 - Apache Software Foundation