| com.ivata.mask.web.field.FieldWriterFactory
All known Subclasses: com.ivata.mask.web.field.DefaultFieldWriterFactory,
FieldWriterFactory | public interface FieldWriterFactory (Code) | |
Use implementations of this interface to generate an appropriate field
writer for a given mask and field.
since: ivata masks 0.1 (2004-05-14) author: Colin MacLeod author: colin.macleod@ivata.com version: $Revision: 1.9 $ |
Method Summary | |
FieldWriter | getFieldWriter(HttpSession session, ValueObject valueObject, Field field, Field subField, boolean hidden) Get a field writer appropriate to the given field.
Parameters: session - current HTTP Session we are processing. Parameters: valueObject - Value object on which to operate. Parameters: field - Field for which to return an appropriate field writer. Parameters: subField - If this field writer is for a sublist, defines the fieldwithin a field which is actually being displayed. Parameters: hidden - If true , overrides the field definition, and gets a writerfor a hidden field. |
APPLICATION_ATTRIBUTE | String APPLICATION_ATTRIBUTE(Code) | |
Name of the attribute to set in the application scope. You must store an
appropriate instance of this class in this attribute, so that the field
tag can locate the field writer factory.
|
getFieldWriter | FieldWriter getFieldWriter(HttpSession session, ValueObject valueObject, Field field, Field subField, boolean hidden) throws SystemException(Code) | | Get a field writer appropriate to the given field.
Parameters: session - current HTTP Session we are processing. Parameters: valueObject - Value object on which to operate. Parameters: field - Field for which to return an appropriate field writer. Parameters: subField - If this field writer is for a sublist, defines the fieldwithin a field which is actually being displayed. Parameters: hidden - If true , overrides the field definition, and gets a writerfor a hidden field. valid field writer for the field provided. throws: SystemException - if the writer cannot be retrieved for any reason. |
|
|