org.springframework.flex.config.json
Class JsonConfigMapPropertyEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.springframework.flex.config.json.JsonConfigMapPropertyEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class JsonConfigMapPropertyEditor
extends java.beans.PropertyEditorSupport

PropertyEditor implementation for parsing a JSON structure and converting it to a new instance of ConfigMap. This is a nice concise alternative to the arbitrary XML structure used in native BlazeDS XML configuration.

Author:
Jeremy Grelle

Constructor Summary
JsonConfigMapPropertyEditor()
           
 
Method Summary
 void setAsText(java.lang.String text)
          
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonConfigMapPropertyEditor

public JsonConfigMapPropertyEditor()
Method Detail

setAsText

public void setAsText(java.lang.String text)
               throws java.lang.IllegalArgumentException

Specified by:
setAsText in interface java.beans.PropertyEditor
Overrides:
setAsText in class java.beans.PropertyEditorSupport
Throws:
java.lang.IllegalArgumentException