com.taggercat.tags
Class QBFFieldTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by com.taggercat.tags.QBFFieldTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

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

This tag returns the value of the named qbf field.

See Also:
Serialized Form
 

Field Summary
 
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
QBFFieldTag()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
          Creates the QBF field tag, and sends it to the page.
 void setDsn(java.lang.String dsn)
          Set the name of the data source this field is a member of.
 void setField(java.lang.String field)
          Sets the field name attribute.
 void setPreserveHTML(java.lang.String preserveHTML)
          Sets the property to indicate when special HTML characters should not be escaped (as corresponding HTML entities).
 java.lang.String toString()
          Returns a description of this object.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QBFFieldTag

public QBFFieldTag()
Method Detail

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Creates the QBF field tag, and sends it to the page.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException
Returns:
SKIP_BODY this tag does not create a body

setDsn

public void setDsn(java.lang.String dsn)
Set the name of the data source this field is a member of.

Parameters:
dsn - the new dsn value

setField

public void setField(java.lang.String field)
Sets the field name attribute.

Parameters:
field - the new field value

setPreserveHTML

public void setPreserveHTML(java.lang.String preserveHTML)
Sets the property to indicate when special HTML characters should not be escaped (as corresponding HTML entities).

Parameters:
preserveHTML - set true to preserve HTML

toString

public java.lang.String toString()
Returns a description of this object.

Overrides:
toString in class java.lang.Object
Returns:
a listing of the current attributes