Class ContentModelFieldProcessorRegistry
java.lang.Object
org.alfresco.repo.forms.processor.FieldProcessorRegistry
org.alfresco.repo.forms.processor.node.ContentModelFieldProcessorRegistry
- Direct Known Subclasses:
MockFieldProcessorRegistry
FieldProcessorRegistry that exclusively handles content model based field processors.
- Since:
- 3.4
- Author:
- Nick Smith
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringDerives the key used to look up theFieldProcessorfrom the fieldName.protected booleanuseDefaultProcessor(String fieldName) Determines if the defaultProcessor should be used.Methods inherited from class org.alfresco.repo.forms.processor.FieldProcessorRegistry
buildField, get, getFieldProcessor, register, setDefaultProcessor
-
Constructor Details
-
ContentModelFieldProcessorRegistry
public ContentModelFieldProcessorRegistry()
-
-
Method Details
-
getKey
Description copied from class:FieldProcessorRegistryDerives the key used to look up theFieldProcessorfrom the fieldName.- Overrides:
getKeyin classFieldProcessorRegistry- Parameters:
fieldName- String- Returns:
- the key used to look up the
FieldProcessor.
-
useDefaultProcessor
Description copied from class:FieldProcessorRegistryDetermines if the defaultProcessor should be used.- Overrides:
useDefaultProcessorin classFieldProcessorRegistry- Parameters:
fieldName- String- Returns:
trueif the defaultProcessor should be used, otherwisefalse.
-