org.alfresco.repo.forms.processor.node
Class ContentModelFieldProcessorRegistry

java.lang.Object
  extended by org.alfresco.repo.forms.processor.FieldProcessorRegistry
      extended by org.alfresco.repo.forms.processor.node.ContentModelFieldProcessorRegistry
Direct Known Subclasses:
MockFieldProcessorRegistry

public class ContentModelFieldProcessorRegistry
extends FieldProcessorRegistry

FieldProcessorRegistry that exclusively handles content model based field processors.

Since:
3.4

Constructor Summary
ContentModelFieldProcessorRegistry()
           
 
Method Summary
protected  java.lang.String getKey(java.lang.String fieldName)
          Derives the key used to look up the FieldProcessor from the fieldName.
protected  boolean useDefaultProcessor(java.lang.String fieldName)
          Determines if the defaultProcessor should be used.
 
Methods inherited from class org.alfresco.repo.forms.processor.FieldProcessorRegistry
buildField, get, getFieldProcessor, register, setDefaultProcessor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentModelFieldProcessorRegistry

public ContentModelFieldProcessorRegistry()
Method Detail

getKey

protected java.lang.String getKey(java.lang.String fieldName)
Description copied from class: FieldProcessorRegistry
Derives the key used to look up the FieldProcessor from the fieldName.

Overrides:
getKey in class FieldProcessorRegistry
Returns:
the key used to look up the FieldProcessor.

useDefaultProcessor

protected boolean useDefaultProcessor(java.lang.String fieldName)
Description copied from class: FieldProcessorRegistry
Determines if the defaultProcessor should be used.

Overrides:
useDefaultProcessor in class FieldProcessorRegistry
Returns:
true if the defaultProcessor should be used, otherwise false.


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.