Class PrettyProcessor

    • Constructor Summary

      Constructors 
      Constructor Description
      PrettyProcessor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PrettyProcessor

        public PrettyProcessor()
    • Method Detail

      • decorate

        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)
        Specified by:
        decorate in interface DecoratorProcessor<javax.xml.bind.Marshaller,​Formatted>
        Parameters:
        target - i.e. a Marshaller instance
        annotation - the annotation that triggered the decorator
        Returns:
        should never return null