org.dbforms.taglib
Class DbBaseHandlerFactory

java.lang.Object
  extended by org.dbforms.taglib.DbBaseHandlerFactory

public class DbBaseHandlerFactory
extends Object

Factory class to render buttons. Can be used to include a button into another tag. see DbFilterTag for example

Author:
Henner Kollmann

Constructor Summary
DbBaseHandlerFactory(javax.servlet.jsp.PageContext parentContext, javax.servlet.jsp.tagext.BodyTagSupport parent, Class clazz)
          Creates a new DbBaseButtonFactory object.
 
Method Summary
 AbstractDbBaseHandlerTag getTag()
          gets the generated button tag
 StringBuffer render()
          renders the generated button tag into StringBuffer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbBaseHandlerFactory

public DbBaseHandlerFactory(javax.servlet.jsp.PageContext parentContext,
                            javax.servlet.jsp.tagext.BodyTagSupport parent,
                            Class clazz)
                     throws javax.servlet.jsp.JspException
Creates a new DbBaseButtonFactory object.

Parameters:
parentContext - parentContext to send to new tag
parent - parent tag to send to new tag
clazz - the button class to generate
Throws:
javax.servlet.jsp.JspException - exception
Method Detail

getTag

public AbstractDbBaseHandlerTag getTag()
gets the generated button tag

Returns:
the button tag

render

public StringBuffer render()
                    throws javax.servlet.jsp.JspException
renders the generated button tag into StringBuffer

Returns:
the StringBuffer
Throws:
javax.servlet.jsp.JspException - thrown exception


Copyright © 2002-2006 DbForms. All Rights Reserved.