BEA Systems, Inc.

com.beasys.commerce.axiom.jsp.tags
Class SimpleReportTag

java.lang.Object
  |
  +--weblogic.utils.compiler.CodeGenerator
        |
        +--com.beasys.commerce.axiom.jsp.tags.AbstractTag
              |
              +--com.beasys.commerce.axiom.jsp.tags.ESAbstractTag
                    |
                    +--com.beasys.commerce.axiom.jsp.tags.SimpleReportTag

public class SimpleReportTag
extends ESAbstractTag

Converts a previously-determined java.sql.ResultSet into a two_dimensional String array -- useful for HTML table display.


Inner classes inherited from class weblogic.utils.compiler.CodeGenerator
weblogic.utils.compiler.CodeGenerator.Output
 
Field Summary
static java.lang.String DEFAULT_RESULT_SET
           
static java.lang.String RESULT_SET
           
static java.lang.String UTILS_FILE
           
 
Fields inherited from class weblogic.utils.compiler.CodeGenerator
NON_WORD_CHARS
 
Constructor Summary
SimpleReportTag()
           
 
Method Summary
static java.lang.String[][] executeQuery(java.sql.ResultSet rs)
          Converts the contents of the provided java.sql.ResultSet into a two-dimensional String array.
 java.lang.String id()
          Retrieves the value of the id attribute.
 java.lang.String processEndTag(java.lang.String tag, java.util.Properties props)
          Employed when the tag is closed within its JSP invocation.
 java.lang.String processStartTag(java.lang.String tag, java.util.Properties props)
          Employed when the tag is opened within its JSP invocation.
 java.lang.String resultSet()
          Retrieves the value of the resultSet attribute.
 
Methods inherited from class com.beasys.commerce.axiom.jsp.tags.AbstractTag
processTag, setJspContext, uniqueId
 
Methods inherited from class weblogic.utils.compiler.CodeGenerator
argumentLookup, baseConversion, buildString, classLookup, date, ensureDir, exceptions, expandArrayClass, generate, generate, generate, generate, generateCode, generator, get_component_type, getFileChars, getRootDirectoryName, installResource, is_primitive_array, javaCodeForType, lookupConvert, parameters, parse, primitive_type_array, primitive_type, readLookup, rootDirectory, setRootDirectoryName, setTargetDirectory, targetFile, time, timeAndDate, type_array, writeLookup, year
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESULT_SET

public static final java.lang.String RESULT_SET

DEFAULT_RESULT_SET

public static final java.lang.String DEFAULT_RESULT_SET

UTILS_FILE

public static final java.lang.String UTILS_FILE
Constructor Detail

SimpleReportTag

public SimpleReportTag()
Method Detail

id

public java.lang.String id()
Retrieves the value of the id attribute.
Returns:
the id attribute value.
See Also:
Extension Tag Documentation for the significance of this attribute.

resultSet

public java.lang.String resultSet()
Retrieves the value of the resultSet attribute.
Returns:
the resultSet attribute value.
See Also:
Extension Tag Documentation for the significance of this attribute.

executeQuery

public static java.lang.String[][] executeQuery(java.sql.ResultSet rs)
                                         throws java.sql.SQLException
Converts the contents of the provided java.sql.ResultSet into a two-dimensional String array.
Parameters:
rs - the ResultSet to be converted
Returns:
the converted ResultSet

processStartTag

public java.lang.String processStartTag(java.lang.String tag,
                                        java.util.Properties props)
                                 throws weblogic.servlet.jsp.JspExtensionException
Employed when the tag is opened within its JSP invocation.
Overrides:
processStartTag in class AbstractTag
Parameters:
tag - the tag name
properties - the properties passed to the tag, which result from the tag attributes used in its JSP invocation.
Returns:
resultant JSP code, inserted into the JSP file's _jspService method.
Throws:
weblogic.servlet.jsp.JspExtensionException -  

processEndTag

public java.lang.String processEndTag(java.lang.String tag,
                                      java.util.Properties props)
                               throws weblogic.servlet.jsp.JspExtensionException
Employed when the tag is closed within its JSP invocation.
Overrides:
processEndTag in class AbstractTag
Parameters:
tag - the tag name
properties - the properties passed to the tag, which result from the tag attributes used in its JSP invocation.
Returns:
resultant JSP code, inserted into the JSP file's _jspService method.
Throws:
weblogic.servlet.jsp.JspExtensionException -  

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved