@Documented @Target(value={METHOD,FIELD,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) public @interface UnwrapValidatedValue
JAXBElement or an Optional type where constraints should not apply to the
container but to the wrapped element:
@Size(max = 10) @UnwrapValidatedValue private JAXBElement<String> name;For each type to be unwrapped, a corresponding
ValidatedValueUnwrapper implementation must be registered.Copyright © 2009-2016 Oracle Corporation. All Rights Reserved.