public class PrettyProcessor extends java.lang.Object implements DecoratorProcessor<javax.xml.bind.Marshaller,Formatted>
Constructor and Description |
---|
PrettyProcessor() |
Modifier and Type | Method and Description |
---|---|
javax.xml.bind.Marshaller |
decorate(javax.xml.bind.Marshaller target,
Formatted annotation,
java.lang.Class type,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
public javax.xml.bind.Marshaller decorate(javax.xml.bind.Marshaller target, Formatted annotation, java.lang.Class type, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
decorate
in interface DecoratorProcessor<javax.xml.bind.Marshaller,Formatted>
target
- i.e. a Marshaller instanceannotation
- the annotation that triggered the decorator