org.mentawai.ajaxtag.renders
Class AjaxtagRender

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

public abstract class AjaxtagRender
extends 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 String TEXT_HTML
          Content-type for text/html.
static String TEXT_XML
          Content-type for text/xml.
 
Constructor Summary
AjaxtagRender()
           
 
Method Summary
 String getContentType()
           
 String getProperty(Object bean, String nameProperty)
           
static AjaxtagRender getRender(AjaxtagConstraints constraint)
           
abstract  String renderize(BaseAjaxtagResponse response, 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 String TEXT_HTML
Content-type for text/html.

See Also:
Constant Field Values

TEXT_XML

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

See Also:
Constant Field Values
Constructor Detail

AjaxtagRender

public AjaxtagRender()
Method Detail

renderize

public abstract String renderize(BaseAjaxtagResponse response,
                                 Locale locale)
                          throws Exception
Throws:
Exception

getContentType

public String getContentType()

getProperty

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

getRender

public static AjaxtagRender getRender(AjaxtagConstraints constraint)


Copyright © 2013. All Rights Reserved.