org.mentawai.ajaxtag.renders
Class AjaxtagRender

java.lang.Object
  extended by org.mentawai.ajaxtag.renders.AjaxtagRender

public abstract class AjaxtagRender
extends java.lang.Object

Base class for the all Ajaxtags render. This class is responseble to create a comom access point to all renders.

That class also provides the instances of the common renders by the static method getRender

Since:
1.9
Author:
Marvin Froeder (m@rvin.info)

Field Summary
static java.lang.String TEXT_HTML
          Content-type for text/html.
static java.lang.String TEXT_XML
          Content-type for text/xml.
 
Constructor Summary
AjaxtagRender()
           
 
Method Summary
 java.lang.String getContentType()
           
 java.lang.String getProperty(java.lang.Object bean, java.lang.String nameProperty)
           
static AjaxtagRender getRender(AjaxtagConstraints constraint)
           
abstract  java.lang.String renderize(BaseAjaxtagResponse response, java.util.Locale locale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEXT_HTML

public static final java.lang.String TEXT_HTML
Content-type for text/html.

See Also:
Constant Field Values

TEXT_XML

public static final java.lang.String TEXT_XML
Content-type for text/xml.

See Also:
Constant Field Values
Constructor Detail

AjaxtagRender

public AjaxtagRender()
Method Detail

renderize

public abstract java.lang.String renderize(BaseAjaxtagResponse response,
                                           java.util.Locale locale)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

getContentType

public java.lang.String getContentType()

getProperty

public java.lang.String getProperty(java.lang.Object bean,
                                    java.lang.String nameProperty)
                             throws java.lang.Exception
Throws:
java.lang.Exception

getRender

public static AjaxtagRender getRender(AjaxtagConstraints constraint)


Copyright © 2005 Mentawai Team. All Rights Reserved.