Java 类javax.validation.valueextraction.ValueExtractor 实例源码

项目:minijax    文件:MinijaxValidatorContext.java   
@Override
public MinijaxValidatorContext addValueExtractor(final ValueExtractor<?> extractor) {
    return this;
}
项目:minijax    文件:MinijaxValidationProvider.java   
@Override
public MinijaxValidationProvider addValueExtractor(final ValueExtractor<?> extractor) {
    throw new UnsupportedOperationException();
}
项目:gwt-bean-validators    文件:GwtConfigurationState.java   
@Override
public Set<ValueExtractor<?>> getValueExtractors() {
  throw new UnsupportedOperationException("GWT does not support getValueExtractors().");
}
项目:gwt-bean-validators    文件:GwtValidatorContext.java   
@Override
public ValidatorContext addValueExtractor(final ValueExtractor<?> extractor) {
  throw new UnsupportedOperationException("GWT Validation does not support addValueExtractor().");
}
项目:gwt-bean-validators    文件:GwtConfiguration.java   
@Override
public AbstractBaseGwtConfiguration addValueExtractor(final ValueExtractor<?> extractor) {
  throw new UnsupportedOperationException(
      "GWT does not support addValueExtractor(ValueExtractor).");
}
项目:gwt-bean-validators    文件:Configuration.java   
/**
 * Adds a value extractor. Has priority over any extractor for the same type and type parameter
 * detected through the service loader or given in the XML configuration.
 *
 * @param extractor value extractor implementation
 * @return {@code this} following the chaining method pattern.
 * @throws ValueExtractorDeclarationException if more than one extractor for the same type and
 *         type parameter is added
 * @since 2.0
 */
T addValueExtractor(ValueExtractor<?> extractor);
项目:gwt-bean-validators    文件:ConfigurationState.java   
/**
 * Returns a set of value extractors.
 * <p>
 * The extractors are retrieved from the following sources in decreasing order:
 * </p>
 * <ul>
 * <li>extractors passed programmatically to {@link Configuration}</li>
 * <li>extractors defined in {@code META-INF/validation.xml} provided that
 * {@code ignoredXmlConfiguration} is {@code false}</li>
 * <li>extractors loaded through the Java service loader</li>
 * </ul>
 * An extractor for a given type and type parameter passed in programmatically takes precedence
 * over any extractor for the same type and type parameter defined in
 * {@code META-INF/validation.xml} or loaded through the service loader. Extractors defined in
 * {@code META-INF/validation.xml} take precedence over any extractor for the same type and type
 * parameter loaded through the service loader.
 * <p>
 * Extractors defined in {@code META-INF/validation.xml} or loaded through the service loader are
 * instantiated using their no-arg constructor.
 * </p>
 *
 * @return set of value extractors; may be empty but never {@code null}
 *
 * @since 2.0
 */
Set<ValueExtractor<?>> getValueExtractors();