Spring BlazeDS Integration

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:
PropertyEditor

public class JsonConfigMapPropertyEditor
extends 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(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(String text)
               throws IllegalArgumentException

Specified by:
setAsText in interface PropertyEditor
Overrides:
setAsText in class PropertyEditorSupport
Throws:
IllegalArgumentException

Spring BlazeDS Integration

Copyright © 2011. All Rights Reserved.