Class LinkDecorator

    • Constructor Detail

      • LinkDecorator

        public LinkDecorator()
    • Method Detail

      • decorate

        public jakarta.xml.bind.Marshaller decorate​(jakarta.xml.bind.Marshaller target,
                                                    AddLinks annotation,
                                                    Class type,
                                                    Annotation[] annotations,
                                                    jakarta.ws.rs.core.MediaType mediaType)
        Specified by:
        decorate in interface DecoratorProcessor<jakarta.xml.bind.Marshaller,​AddLinks>
        Parameters:
        target - i.e. a Marshaller instance
        annotation - the annotation that triggered the decorator
        type - type
        annotations - array of annotations
        mediaType - media type
        Returns:
        should never return null