public interface DecoratorProcessor<T,A extends Annotation>
Decorate a target. For example, decorate a JAXB Marshaller with property values.
Modifier and Type | Method and Description |
---|---|
T |
decorate(T target,
A annotation,
Class type,
Annotation[] annotations,
MediaType mediaType) |
T decorate(T target, A annotation, Class type, Annotation[] annotations, MediaType mediaType)
target
- i.e. a Marshaller instanceannotation
- the annotation that triggered the decoratortype
- typeannotations
- array of annotationsmediaType
- media typeCopyright © 2021 JBoss by Red Hat. All rights reserved.