org.melati.template
Interface 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.
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 infieldName
- the name of the field in the context
- Returns:
- the raw value
Copyright © 2000-2010 PanEris. All Rights Reserved.