com.taggercat.tags
Class DataFieldIdentifierTag

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

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

This tag prints the unique field Identifier. The format of the identifier is the dot delimited string of:
<DSN>.<ROWID>.<FIELDNAME>

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
DataFieldIdentifierTag()
           
 
Method Summary
 int doEndTag()
          Resets the tags internal state.
 int doStartTag()
          Issues the data field name.
 void setDsn(java.lang.String dsn)
          Set the name of the data source.
 void setField(java.lang.String field)
          Sets the field attribute.
 java.lang.String toString()
          String description of this class.
 
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

DataFieldIdentifierTag

public DataFieldIdentifierTag()
Method Detail

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Resets the tags internal state.

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException
Returns:
EVAL_PAGE

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Issues the data field name.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspTagException
javax.servlet.jsp.JspException
Returns:
SKIP_BODY

setDsn

public void setDsn(java.lang.String dsn)
Set the name of the data source.

Parameters:
dsn - The new dsn value

setField

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

Parameters:
field - The new field value

toString

public java.lang.String toString()
String description of this class.

Overrides:
toString in class java.lang.Object
Returns:
Description of the Returned Value