Class LocalizedTextEditor
java.lang.Object
java.beans.PropertyEditorSupport
de.digitalcollections.cudami.admin.propertyeditor.LocalizedTextEditor
- All Implemented Interfaces:
java.beans.PropertyEditor
@Component
public class LocalizedTextEditor
extends java.beans.PropertyEditorSupport
-
Constructor Summary
Constructors Constructor Description LocalizedTextEditor(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, 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 Details
-
LocalizedTextEditor
@Autowired public LocalizedTextEditor(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getAsText
public java.lang.String getAsText()- Specified by:
getAsText
in interfacejava.beans.PropertyEditor
- Overrides:
getAsText
in classjava.beans.PropertyEditorSupport
-
setAsText
public void setAsText(java.lang.String json)- Specified by:
setAsText
in interfacejava.beans.PropertyEditor
- Overrides:
setAsText
in classjava.beans.PropertyEditorSupport
-