org.springframework.validation

Class DirectFieldBindingResult

    • Constructor Detail

      • DirectFieldBindingResult

        public DirectFieldBindingResult(@Nullable
                                        java.lang.Object target,
                                        java.lang.String objectName)
        Create a new DirectFieldBindingResult instance.
        Parameters:
        target - the target object to bind onto
        objectName - the name of the target object
      • DirectFieldBindingResult

        public DirectFieldBindingResult(@Nullable
                                        java.lang.Object target,
                                        java.lang.String objectName,
                                        boolean autoGrowNestedPaths)
        Create a new DirectFieldBindingResult instance.
        Parameters:
        target - the target object to bind onto
        objectName - the name of the target object
        autoGrowNestedPaths - whether to "auto-grow" a nested path that contains a null value