Package pro.taskana.common.rest
Class JsonPropertyEditor
java.lang.Object
java.beans.PropertyEditorSupport
pro.taskana.common.rest.JsonPropertyEditor
- All Implemented Interfaces:
PropertyEditor
-
Constructor Summary
ConstructorsConstructorDescriptionJsonPropertyEditor(com.fasterxml.jackson.databind.ObjectMapper objectMapper, Class<?> requiredType) -
Method Summary
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
Constructor Details
-
JsonPropertyEditor
public JsonPropertyEditor(com.fasterxml.jackson.databind.ObjectMapper objectMapper, Class<?> requiredType)
-
-
Method Details
-
setAsText
- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classPropertyEditorSupport- Throws:
IllegalArgumentException
-