Liferay 6.2-ce-ga5

com.liferay.portlet.dynamicdatamapping.storage
Class BaseFieldRenderer

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.storage.BaseFieldRenderer
All Implemented Interfaces:
FieldRenderer

public abstract class BaseFieldRenderer
extends Object
implements FieldRenderer


Constructor Summary
BaseFieldRenderer()
           
 
Method Summary
protected abstract  String doRender(Field field, Locale locale)
           
protected abstract  String doRender(Field field, Locale locale, int valueIndex)
           
 String render(Field field, Locale locale)
           
 String render(Field field, Locale locale, int valueIndex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseFieldRenderer

public BaseFieldRenderer()
Method Detail

render

public String render(Field field,
                     Locale locale)
Specified by:
render in interface FieldRenderer

render

public String render(Field field,
                     Locale locale,
                     int valueIndex)
Specified by:
render in interface FieldRenderer

doRender

protected abstract String doRender(Field field,
                                   Locale locale)
                            throws Exception
Throws:
Exception

doRender

protected abstract String doRender(Field field,
                                   Locale locale,
                                   int valueIndex)
                            throws Exception
Throws:
Exception

Liferay 6.2-ce-ga5