org.melati.template
Interface TempletAdaptor

Package class diagram package TempletAdaptor
All Known Implementing Classes:
SimpleDateAdaptor, YMDDateAdaptor, YMDHMSTimestampAdaptor

public interface TempletAdaptor

Object to reading fields from a context, modified by a user. The typical case is the conversion of values from human settable date widgets to a machine readable form, which are converted to the appropriate Object type.


Method Summary
 Object rawFrom(ServletTemplateContext context, String fieldName)
          Retrieve a raw value, ie an SQL value, from a ServletTemplateContext.
 

Method Detail

rawFrom

Object rawFrom(ServletTemplateContext context,
               String fieldName)
Retrieve a raw value, ie an SQL value, from a ServletTemplateContext.

Parameters:
context - the ServletTemplateContext the value is stored in
fieldName - the name of the field in the context
Returns:
the raw value


Copyright © 2000-2010 PanEris. All Rights Reserved.