javax.validation.valueextraction.ValueExtractor Java Examples

The following examples show how to use javax.validation.valueextraction.ValueExtractor. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ValidatorBuilder.java    From tomee with Apache License 2.0 4 votes vote down vote up
@Override
public T addValueExtractor(ValueExtractor<?> valueExtractor)
{
    return delegate.addValueExtractor(valueExtractor);
}
 
Example #2
Source File: CustomValidatorProvider.java    From tomee with Apache License 2.0 4 votes vote down vote up
@Override
public ValidatorContext addValueExtractor(ValueExtractor<?> valueExtractor)
{
    return null;
}
 
Example #3
Source File: ProfileValueExtractor.java    From tutorials with MIT License 4 votes vote down vote up
@Override
public void extractValues(Profile originalValue, ValueExtractor.ValueReceiver receiver) {
    receiver.value(null, originalValue.getCompanyName());
}