Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

info.crossbar.view.taglib
Class SitemapTag  view SitemapTag download SitemapTag.java

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byinfo.crossbar.view.taglib.SitemapTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

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

SitemapTag class for use by Crossbar

Version:
View source, revision history $Revision: 1.3 $ $Date: 2003/06/04 04:55:19 $

DESCRIPTION: The SitemapTag class takes tabular data obtained from a database and outputs a table using markup (such as HTML) provided by a Formatter.


Field Summary
private static java.util.logging.Logger log
          Set up logging.
private  java.lang.String modelReference
           
private  CachedRowSet table
           
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
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
SitemapTag()
           
 
Method Summary
 int doStartTag()
          Process the start tag for this instance.
 java.lang.String markup()
          Process the start tag for this instance.
 void setModelReference(java.lang.String modelReference)
          Method accepts a CachedRowSet.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static java.util.logging.Logger log
Set up logging.


table

private CachedRowSet table

modelReference

private java.lang.String modelReference
Constructor Detail

SitemapTag

public SitemapTag()
Method Detail

setModelReference

public void setModelReference(java.lang.String modelReference)
Method accepts a CachedRowSet. The tabular data can be the result set from an SQL query, data for a form (field names and default values), a series of messages, or any other data set organized as fields and rows.


doStartTag

public int doStartTag()
Process the start tag for this instance. See the JSP API specification for details.


markup

public java.lang.String markup()
                        throws javax.servlet.ServletException
Process the start tag for this instance. See the JSP API specification for details.