public class DecoratorMatcher
extends java.lang.Object
DecoratorProcessor
,
DecorateTypes
,
Decorator
Constructor and Description |
---|
DecoratorMatcher() |
Modifier and Type | Method and Description |
---|---|
<T> T |
decorate(java.lang.Class<T> targetClass,
T target,
java.lang.Class type,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
private <T> void |
registerDecorators(java.lang.Class<T> targetClass,
java.util.HashMap<java.lang.Class<?>,java.lang.annotation.Annotation> meta,
java.lang.annotation.Annotation[] annotations) |
public <T> T decorate(java.lang.Class<T> targetClass, T target, java.lang.Class type, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
T
- targetClass
- i.e. Marshallertarget
- type
- i.e. a JAXB annotated classannotations
- i.e. method or parameter annotationsmediaType
- private <T> void registerDecorators(java.lang.Class<T> targetClass, java.util.HashMap<java.lang.Class<?>,java.lang.annotation.Annotation> meta, java.lang.annotation.Annotation[] annotations)