public class PrettyProcessor extends Object implements DecoratorProcessor<Marshaller,Formatted>
Constructor and Description |
---|
PrettyProcessor() |
Modifier and Type | Method and Description |
---|---|
Marshaller |
decorate(Marshaller target,
Formatted annotation,
Class type,
Annotation[] annotations,
MediaType mediaType) |
public Marshaller decorate(Marshaller target, Formatted annotation, Class type, Annotation[] annotations, MediaType mediaType)
decorate
in interface DecoratorProcessor<Marshaller,Formatted>
target
- i.e. a Marshaller instanceannotation
- the annotation that triggered the decoratorCopyright © 2018 JBoss by Red Hat. All rights reserved.