Class StringEditor

  • All Implemented Interfaces:
    java.beans.PropertyEditor

    public class StringEditor
    extends java.beans.PropertyEditorSupport
    A property editor for String. It is really a no-op but it is hoped to provide slightly better performance, by avoiding the continuous lookup/failure of a property editor for plain Strings within the org.jboss.util.propertyeditor package, before falling back to the jdk provided String editor.
    Version:
    $Revision$
    • Constructor Summary

      Constructors 
      Constructor Description
      StringEditor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setAsText​(java.lang.String text)
      Keep the provided String as is.
      • 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
    • Constructor Detail

      • StringEditor

        public StringEditor()
    • Method Detail

      • setAsText

        public void setAsText​(java.lang.String text)
        Keep the provided String as is.
        Specified by:
        setAsText in interface java.beans.PropertyEditor
        Overrides:
        setAsText in class java.beans.PropertyEditorSupport