public abstract class TransientFieldProcessor extends AbstractFieldProcessor<TransientValueGetter>
FieldProcessor
s.Constructor and Description |
---|
TransientFieldProcessor() |
Modifier and Type | Method and Description |
---|---|
protected Field |
generateTypedField(String fieldName,
FormCreationData formData,
TransientValueGetter typedData)
The method which actually creates the
Field . |
protected Class<TransientValueGetter> |
getExpectedDataType() |
protected Object |
getValue(String fieldName,
TransientValueGetter data) |
protected abstract FieldDefinition |
makeTransientFieldDefinition() |
generateField, getLogger, getRegistryKey, setFieldProcessorRegistry
protected Field generateTypedField(String fieldName, FormCreationData formData, TransientValueGetter typedData)
AbstractFieldProcessor
Field
.generateTypedField
in class AbstractFieldProcessor<TransientValueGetter>
fieldName
- the name of the Field
to be genereated.formData
- TODOtypedData
- the data used to create the field.Field
or null
.protected Object getValue(String fieldName, TransientValueGetter data)
protected Class<TransientValueGetter> getExpectedDataType()
getExpectedDataType
in class AbstractFieldProcessor<TransientValueGetter>
Class
of the data
parameter for the method generateField
.protected abstract FieldDefinition makeTransientFieldDefinition()
Copyright © 2005–2017 Alfresco Software. All rights reserved.