public class LinkDecorator extends Object implements DecoratorProcessor<Marshaller,AddLinks>
Constructor and Description |
---|
LinkDecorator() |
Modifier and Type | Method and Description |
---|---|
Marshaller |
decorate(Marshaller target,
AddLinks annotation,
Class type,
Annotation[] annotations,
MediaType mediaType) |
public Marshaller decorate(Marshaller target, AddLinks annotation, Class type, Annotation[] annotations, MediaType mediaType)
decorate
in interface DecoratorProcessor<Marshaller,AddLinks>
target
- i.e. a Marshaller instanceannotation
- the annotation that triggered the decoratorCopyright © 2013. All Rights Reserved.