org.riotfamily.components.riot.form
Class ContentContainerEditorBinder

java.lang.Object
  extended by org.springframework.beans.PropertyEditorRegistrySupport
      extended by org.riotfamily.forms.AbstractEditorBinder
          extended by org.riotfamily.components.riot.form.ContentContainerEditorBinder
All Implemented Interfaces:
EditorBinder, PropertyEditorRegistry
Direct Known Subclasses:
PagePropertiesEditorBinder

public class ContentContainerEditorBinder
extends AbstractEditorBinder

Since:
7.0
Author:
Felix Gnass [fgnass at neteye dot de]

Constructor Summary
ContentContainerEditorBinder()
           
 
Method Summary
protected  ContentContainer createContainer()
           
 Object getBackingObject()
           
 Class<?> getBeanClass()
           
 Class<?> getPropertyType(String path)
           
 Object getPropertyValue(String property)
           
 boolean isEditingExistingBean()
           
protected  void setBackingObjectInternal(Object backingObject)
           
 void setPropertyValue(String property, Object value)
           
 
Methods inherited from class org.riotfamily.forms.AbstractEditorBinder
bind, findEditorByProperty, getBindings, getBoundProperties, getEditor, getPropertyEditor, getPropertyPath, initEditors, populateBackingObject, registerPropertyEditors, replace, setBackingObject
 
Methods inherited from class org.springframework.beans.PropertyEditorRegistrySupport
copyCustomEditorsTo, copyDefaultEditorsTo, findCustomEditor, getDefaultEditor, guessPropertyTypeFromEditors, hasCustomEditorForElement, isSharedEditor, registerCustomEditor, registerCustomEditor, registerDefaultEditors, registerSharedEditor, useConfigValueEditors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.beans.PropertyEditorRegistry
findCustomEditor, registerCustomEditor, registerCustomEditor
 

Constructor Detail

ContentContainerEditorBinder

public ContentContainerEditorBinder()
Method Detail

isEditingExistingBean

public boolean isEditingExistingBean()

setBackingObjectInternal

protected void setBackingObjectInternal(Object backingObject)
Overrides:
setBackingObjectInternal in class AbstractEditorBinder

createContainer

protected ContentContainer createContainer()

getBackingObject

public Object getBackingObject()

getBeanClass

public Class<?> getBeanClass()

getPropertyType

public Class<?> getPropertyType(String path)
Specified by:
getPropertyType in interface EditorBinder
Specified by:
getPropertyType in class AbstractEditorBinder

getPropertyValue

public Object getPropertyValue(String property)

setPropertyValue

public void setPropertyValue(String property,
                             Object value)