Class EmailValidator
java.lang.Object
io.jmix.flowui.component.validation.AbstractValidator<String>
io.jmix.flowui.component.validation.EmailValidator
- All Implemented Interfaces:
Validator<String>
,Consumer<String>
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationContextAware
@Component("flowui_EmailValidator")
@Scope("prototype")
public class EmailValidator
extends AbstractValidator<String>
implements org.springframework.beans.factory.InitializingBean
-
Nested Class Summary
-
Field Summary
Fields inherited from class io.jmix.flowui.component.validation.AbstractValidator
applicationContext, currentAuthentication, datatypeRegistry, defaultMessage, message, messages, substitutor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks a value.collectEmails
(String emailString) protected int
protected String
protected void
setValidator
(jakarta.validation.Validator validator) Methods inherited from class io.jmix.flowui.component.validation.AbstractValidator
afterPropertiesSet, fireValidationException, fireValidationException, formatValue, getMessage, getTemplateErrorMessage, setApplicationContext, setMessage
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
-
Field Details
-
validator
protected jakarta.validation.Validator validator
-
-
Constructor Details
-
EmailValidator
public EmailValidator()
-
-
Method Details
-
setValidator
@Autowired protected void setValidator(jakarta.validation.Validator validator) -
accept
Description copied from interface:Validator
Checks a value. -
collectEmails
-
preventEmpty
-
getSepIdx
-