Class ConstructorConverter

All Implemented Interfaces:
PropertyEditor, Converter

public class ConstructorConverter extends AbstractConverter
  • Field Details

  • Constructor Details

    • ConstructorConverter

      public ConstructorConverter(Class type, Constructor constructor)
  • Method Details

    • toObjectImpl

      protected Object toObjectImpl(String text)
      Description copied from class: AbstractConverter
      Converts the supplied text in to an instance of the editor type. The text will never be null, and trim() will already have been called.
      Specified by:
      toObjectImpl in class AbstractConverter
      Parameters:
      text - the text to convert
      Returns:
      an instance of the editor type
    • editor

      public static ConstructorConverter editor(Class type)