We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.data.binder.
Package com.vaadin.flow.data.binder
Interface ErrorMessageProvider
All Superinterfaces:
Function<ValueContext,
, Serializable
, SerializableFunction<ValueContext,
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface ErrorMessageProvider
extends SerializableFunction<ValueContext,String>
Provider interface for generating localizable error messages using
ValueContext
.
Since:
1.0.
Author:
Vaadin Ltd
-
Method Summary
Modifier and TypeMethodDescriptionapply
(ValueContext context) Returns a generated error message for given
ValueContext
.
-
Method Details
-
apply
Returns a generated error message for given
ValueContext
.Specified by:
apply
in interfaceFunction<ValueContext,
String> Parameters:
context
- the value contextReturns:
generated error message
-