参照先: 説明
インタフェース | 説明 |
---|---|
Unwrapping |
Set of interfaces used in the
payload() of a constraint to indicate if a value
should be unwrapped before validation. |
Unwrapping.Skip |
Skip the unwrapping if it has been enabled on the
ValueExtractor by the
UnwrapByDefault
annotation. |
Unwrapping.Unwrap |
Unwrap the value before validation.
|
ValueExtractor<T> |
Defines the logic used to extract the values from a container object of type
T . |
ValueExtractor.ValueReceiver |
Provides a set of methods receiving value extracted by the
ValueExtractor . |
例外 | 説明 |
---|---|
ValueExtractorDeclarationException |
Raised if the configuration of
ValueExtractor is illegal, e.g. because multiple
extractors for the same type and type use have been configured in
META-INF/validation.xml . |
ValueExtractorDefinitionException |
Raised if a
ValueExtractor definition is illegal, e.g. because it doesn't declare
its extracted value using ExtractedValue . |
注釈型 | 説明 |
---|---|
ExtractedValue |
Marks the type parameter of a generic container type to which a
ValueExtractor is
tied or specifies the type of the wrapped element(s) of non-generic container types. |
UnwrapByDefault |
Marks a
ValueExtractor definition so that it is applied automatically when
detecting constraints declared on the container type supported by the extractor, causing
the constraints to be applied to the container's elements instead of the container. |
Copyright © 2007-2018 Red Hat Inc. All Rights Reserved. Released under the Apache Software License 2.0. Translated by @megascus.