Class PrettyProcessor
java.lang.Object
org.jboss.resteasy.plugins.providers.jaxb.PrettyProcessor
- All Implemented Interfaces:
DecoratorProcessor<jakarta.xml.bind.Marshaller,
Formatted>
public class PrettyProcessor
extends Object
implements DecoratorProcessor<jakarta.xml.bind.Marshaller,Formatted>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.xml.bind.Marshaller
decorate
(jakarta.xml.bind.Marshaller target, Formatted annotation, Class type, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
-
Constructor Details
-
PrettyProcessor
public PrettyProcessor()
-
-
Method Details
-
decorate
public jakarta.xml.bind.Marshaller decorate(jakarta.xml.bind.Marshaller target, Formatted annotation, Class type, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) - Specified by:
decorate
in interfaceDecoratorProcessor<jakarta.xml.bind.Marshaller,
Formatted> - Parameters:
target
- i.e. a Marshaller instanceannotation
- the annotation that triggered the decoratortype
- typeannotations
- array of annotationsmediaType
- media type- Returns:
- should never return null
-