public abstract class AbstractGwtValidatorFactory extends Object implements javax.validation.ValidatorFactory
ValidatorFactory
that delegates to a GWT generated
Validator
.
Extend this class create and implement createValidator
public class MyValidatorFactory extends AbstractGwtValidatorFactory {
Constructor and Description |
---|
AbstractGwtValidatorFactory() |
Modifier and Type | Method and Description |
---|---|
abstract AbstractGwtValidator |
createValidator()
Implement this method to return a
GWT.create(java.lang.Class<?>) d Validator
annotated with GwtValidation . |
javax.validation.ConstraintValidatorFactory |
getConstraintValidatorFactory()
GWT does not support
ConstraintValidatorFactory , so the object returned by this method
will not work. |
MessageInterpolator |
getMessageInterpolator() |
javax.validation.TraversableResolver |
getTraversableResolver() |
javax.validation.Validator |
getValidator() |
void |
init(ConfigurationState configState) |
<T> T |
unwrap(Class<T> type)
Unsupported.
|
javax.validation.ValidatorContext |
usingContext() |
public abstract AbstractGwtValidator createValidator()
GWT.create(java.lang.Class<?>)
d Validator
annotated with GwtValidation
.public final javax.validation.ConstraintValidatorFactory getConstraintValidatorFactory()
ConstraintValidatorFactory
, so the object returned by this method
will not work.getConstraintValidatorFactory
in interface javax.validation.ValidatorFactory
public final MessageInterpolator getMessageInterpolator()
getMessageInterpolator
in interface javax.validation.ValidatorFactory
public final javax.validation.TraversableResolver getTraversableResolver()
getTraversableResolver
in interface javax.validation.ValidatorFactory
public final javax.validation.Validator getValidator()
getValidator
in interface javax.validation.ValidatorFactory
public final void init(ConfigurationState configState)
public final <T> T unwrap(Class<T> type)
UnsupportedOperationException
.unwrap
in interface javax.validation.ValidatorFactory
UnsupportedOperationException
public final javax.validation.ValidatorContext usingContext()
usingContext
in interface javax.validation.ValidatorFactory
Copyright © 2018. All rights reserved.