Package pro.taskana.common.rest
Class JsonPropertyEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- pro.taskana.common.rest.JsonPropertyEditor
-
- All Implemented Interfaces:
PropertyEditor
public class JsonPropertyEditor extends PropertyEditorSupport
-
-
Constructor Summary
Constructors Constructor Description JsonPropertyEditor(com.fasterxml.jackson.databind.ObjectMapper objectMapper, Class<?> requiredType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetAsText(String text)-
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
-
-
-
Constructor Detail
-
JsonPropertyEditor
public JsonPropertyEditor(com.fasterxml.jackson.databind.ObjectMapper objectMapper, Class<?> requiredType)
-
-
Method Detail
-
setAsText
public void setAsText(String text) throws IllegalArgumentException
- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classPropertyEditorSupport- Throws:
IllegalArgumentException
-
-