Package org.apache.juneau.marshall
Class UriApplyAnnotation.Applier
java.lang.Object
org.apache.juneau.marshall.AnnotationApplier<UriApply,Context.Builder>
org.apache.juneau.marshall.UriApplyAnnotation.Applier
- Enclosing class:
- UriApplyAnnotation
Applies targeted
UriApply annotations to a Context.Builder.
Passes the @UriApply annotation through to the builder's annotation list.
The AnnotationProvider.Builder#addRuntimeAnnotations(java.util.List)
method handles unwrapping the nested @Uri from UriApply.value() and registering it
under the targets specified by UriApply.on() and UriApply.onClass().
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(AnnotationInfo<UriApply> ai, Context.Builder b) Apply the specified annotation to the specified property store builder.
-
Constructor Details
-
Applier
Constructor.- Parameters:
vr- The resolver for resolving values in annotations. Must not benull .
-
-
Method Details
-
apply
Description copied from class:AnnotationApplierApply the specified annotation to the specified property store builder.- Specified by:
applyin classAnnotationApplier<UriApply,Context.Builder> - Parameters:
ai- The annotation.b- The property store builder.
-