Annotation Type XmlAttachmentRef


  • @Retention(RUNTIME)
    @Target({FIELD,METHOD,PARAMETER})
    public @interface XmlAttachmentRef
    Marks a field/property that its XML form is a URI reference to mime content. The mime content is optimally stored out-of-line as an attachment.

    A field/property must always map to the DataHandler class.

    Usage

    {@snippet :
    Since:
    1.6, JAXB 2.0
    Author:
    Kohsuke Kawaguchi