org.riotfamily.components.riot.form
Class ContentEditorBinder

java.lang.Object
  extended by org.springframework.beans.PropertyEditorRegistrySupport
      extended by org.riotfamily.forms.AbstractEditorBinder
          extended by org.riotfamily.components.riot.form.ContentEditorBinder
All Implemented Interfaces:
EditorBinder, PropertyEditorRegistry

public class ContentEditorBinder
extends AbstractEditorBinder

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

Constructor Summary
ContentEditorBinder()
           
 
Method Summary
 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

ContentEditorBinder

public ContentEditorBinder()
Method Detail

isEditingExistingBean

public boolean isEditingExistingBean()

setBackingObjectInternal

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

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)