org.springframework.flex.config.json
Class JsonConfigMapPropertyEditor
java.lang.Object
java.beans.PropertyEditorSupport
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
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 |
JsonConfigMapPropertyEditor
public JsonConfigMapPropertyEditor()
setAsText
public void setAsText(String text)
throws IllegalArgumentException
-
- Specified by:
setAsText
in interface PropertyEditor
- Overrides:
setAsText
in class PropertyEditorSupport
- Throws:
IllegalArgumentException
Copyright © 2011. All Rights Reserved.