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

Quick Search    Search Deep

info.crossbar.view.formatter
Interface FormatterAbstraction  view FormatterAbstraction download FormatterAbstraction.java

All Known Implementing Classes:
BaseFormatter

public interface FormatterAbstraction

FormatterAbstraction interface for use by Crossbar

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

DESCRIPTION: This is an interface that allows us to load a class dynamically using the Class.forName method. Classes that implement this interface are used to mix markup and content for inclusion on a JSP page.


Method Summary
 java.lang.String getClassInfo()
          Obtain information on this class.
 java.lang.String markup(javax.servlet.http.HttpServletRequest request, CachedRowSet table, java.lang.String headerstyle, java.lang.String bodystyle, java.lang.String footerstyle)
          Given a CachedRowSet containing tabular data, iterate through each row and column, obtaining each field value and wrapping it with markup (for example, HTML tags) to be returned as a string to a custom tag for inclusion on a jsp page.
 

Method Detail

markup

public java.lang.String markup(javax.servlet.http.HttpServletRequest request,
                               CachedRowSet table,
                               java.lang.String headerstyle,
                               java.lang.String bodystyle,
                               java.lang.String footerstyle)
                        throws javax.servlet.ServletException
Given a CachedRowSet containing tabular data, iterate through each row and column, obtaining each field value and wrapping it with markup (for example, HTML tags) to be returned as a string to a custom tag for inclusion on a jsp page. (INTERFACE ONLY.)


getClassInfo

public java.lang.String getClassInfo()
Obtain information on this class.