Tabnine Logo
AbstractPropertyBindingResult.initConversion
Code IndexAdd Tabnine to your IDE (free)

How to use
initConversion
method
in
org.springframework.validation.AbstractPropertyBindingResult

Best Java code snippets using org.springframework.validation.AbstractPropertyBindingResult.initConversion (Showing top 3 results out of 315)

origin: spring-projects/spring-framework

/**
 * Specify a Spring 3.0 ConversionService to use for converting
 * property values, as an alternative to JavaBeans PropertyEditors.
 */
public void setConversionService(@Nullable ConversionService conversionService) {
  Assert.state(this.conversionService == null, "DataBinder is already initialized with ConversionService");
  this.conversionService = conversionService;
  if (this.bindingResult != null && conversionService != null) {
    this.bindingResult.initConversion(conversionService);
  }
}
origin: org.springframework/spring-context

/**
 * Specify a Spring 3.0 ConversionService to use for converting
 * property values, as an alternative to JavaBeans PropertyEditors.
 */
public void setConversionService(@Nullable ConversionService conversionService) {
  Assert.state(this.conversionService == null, "DataBinder is already initialized with ConversionService");
  this.conversionService = conversionService;
  if (this.bindingResult != null && conversionService != null) {
    this.bindingResult.initConversion(conversionService);
  }
}
origin: apache/servicemix-bundles

/**
 * Specify a Spring 3.0 ConversionService to use for converting
 * property values, as an alternative to JavaBeans PropertyEditors.
 */
public void setConversionService(@Nullable ConversionService conversionService) {
  Assert.state(this.conversionService == null, "DataBinder is already initialized with ConversionService");
  this.conversionService = conversionService;
  if (this.bindingResult != null && conversionService != null) {
    this.bindingResult.initConversion(conversionService);
  }
}
org.springframework.validationAbstractPropertyBindingResultinitConversion

Popular methods of AbstractPropertyBindingResult

  • getPropertyAccessor
    Provide the PropertyAccessor to work with, according to the concrete strategy of access.Note that a
  • fixedField
  • getCustomEditor
    Retrieve the custom PropertyEditor for the given field, if any.
  • getFieldType
    Determines the field type from the property type.
  • getTarget
  • setMessageCodesResolver
  • getPropertyEditorRegistry
    Returns the underlying PropertyAccessor.

Popular in Java

  • Making http post requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • startActivity (Activity)
  • setScale (BigDecimal)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now