Subclass of
BeanModel that exposes the return value of the
java.lang.Object.toString method through the
TemplateScalarModel interface.
author: Attila Szegedi version: $Id: StringModel.java,v 1.9 2003/06/03 13:21:33 szegedia Exp $
StringModel(Object object, BeansWrapper wrapper) Creates a new model that wraps the specified object with BeanModel + scalar
functionality.
Parameters: object - the object to wrap into a model. Parameters: wrapper - the BeansWrapper associated with this model.Every model has to have an associated BeansWrapper instance.
Creates a new model that wraps the specified object with BeanModel + scalar
functionality.
Parameters: object - the object to wrap into a model. Parameters: wrapper - the BeansWrapper associated with this model.Every model has to have an associated BeansWrapper instance. Themodel gains many attributes from its wrapper, including the caching behavior, method exposure level, method-over-item shadowing policy etc.