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

    Modifier and Type Method Description
    java.lang.String getAsText()  
    void setAsText​(java.lang.String json)  

    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 interface java.beans.PropertyEditor
      Overrides:
      getAsText in class java.beans.PropertyEditorSupport
    • setAsText

      public void setAsText​(java.lang.String json)
      Specified by:
      setAsText in interface java.beans.PropertyEditor
      Overrides:
      setAsText in class java.beans.PropertyEditorSupport