protected ValueModel createValueModel ( String formProperty ) { Assert . notNull ( formProperty , "formProperty" ) ; if ( logger . isDebugEnabled ( ) ) { logger . debug ( "Creating " + ( buffered ? "buffered" : "" ) + " value model for form property '" + formProperty + "'." ) ; } return buffered ? new BufferedValueModel ( propertyAccessStrategy . getPropertyValueModel ( formProperty ) ) : propertyAccessStrategy . getPropertyValueModel ( formProperty ) ; }
Creates a new value mode for the the given property . Usually delegates to the underlying property access strategy but subclasses may provide alternative value model creation strategies .