T
- the type of the root bean.public final class GwtValidationContext<T> extends Object
GwtValidation
.
NOTE: This class is not thread safe.
Constructor and Description |
---|
GwtValidationContext(Class<T> rootBeanClass,
T rootBean,
javax.validation.metadata.BeanDescriptor beanDescriptor,
MessageInterpolator messageInterpolator,
javax.validation.TraversableResolver traversableResolver,
AbstractGwtValidator validator) |
Modifier and Type | Method and Description |
---|---|
void |
addValidatedObject(Object o) |
boolean |
alreadyValidated(Object o) |
GwtValidationContext<T> |
append(String name)
Append a node named name to the path..
|
GwtValidationContext<T> |
appendIndex(String name,
int index)
Append an indexed node to the path.
|
GwtValidationContext<T> |
appendIterable(String name)
Append an iterable node to the path.
|
GwtValidationContext<T> |
appendKey(String name,
Object key)
Append a keyed node to the path.
|
<A extends Annotation,V> |
createConstraintValidatorContext(javax.validation.metadata.ConstraintDescriptor<A> descriptor) |
MessageInterpolator |
getMessageInterpolator() |
PathImpl |
getPath() |
T |
getRootBean() |
Class<T> |
getRootBeanClass() |
javax.validation.TraversableResolver |
getTraversableResolver() |
AbstractGwtValidator |
getValidator() |
public GwtValidationContext(Class<T> rootBeanClass, T rootBean, javax.validation.metadata.BeanDescriptor beanDescriptor, MessageInterpolator messageInterpolator, javax.validation.TraversableResolver traversableResolver, AbstractGwtValidator validator)
public final void addValidatedObject(Object o)
public final boolean alreadyValidated(Object o)
public GwtValidationContext<T> append(String name)
public GwtValidationContext<T> appendIndex(String name, int index)
public GwtValidationContext<T> appendIterable(String name)
public GwtValidationContext<T> appendKey(String name, Object key)
public <A extends Annotation,V> ConstraintValidatorContextImpl<A,V> createConstraintValidatorContext(javax.validation.metadata.ConstraintDescriptor<A> descriptor)
public MessageInterpolator getMessageInterpolator()
public PathImpl getPath()
public T getRootBean()
public javax.validation.TraversableResolver getTraversableResolver()
public AbstractGwtValidator getValidator()
Copyright © 2018. All rights reserved.