Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## com.sun.jersey.api.provider.jaxb
Annotation Type XmlHeader

    @Target(value=METHOD)
    @Retention(value=RUNTIME)
    public @interface XmlHeader

Allows to specify XML header for XML output produced by a resource method it is attached to.

Example usage:

     @GET
     @Produces("application/xml")
     @XmlHeader("<?xml-stylesheet type='text/xsl' href='foobar.xsl' ?>")
     public JaxbBean get() {
         ...
     }

Author:
  Martin Matula

Required Element Summary
`java.lang.String` | `value`

Element Detail

### value

    public abstract java.lang.String value

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2013 Oracle Corporation. All Rights Reserved.