cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vjacheslav Borisov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5644) Introduce XSLTTransform annotation to support server-side transformations
Date Wed, 26 Mar 2014 20:11:15 GMT

    [ https://issues.apache.org/jira/browse/CXF-5644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13948389#comment-13948389
] 

Vjacheslav Borisov commented on CXF-5644:
-----------------------------------------

What is the purpose of  many mimeTypes with single stylesheet?
May be it should have single (not array) mimeType?

I think, multi-mapping of mime type to corresponding stylesheet can be accomplished with 
additional annotation (like  @ObjectTypeConverter in Eclipselink)

    @XSLTTransformMap(conversionValues = {
       @XSLTTransform(value = "pathToXsltONE", mimeType = "mimeTypeONE"),
       @XSLTTransform(value = "pathToXsltTOW", mimeType = "mimeTypeTWO")
    }) 


> Introduce XSLTTransform annotation to support server-side transformations
> -------------------------------------------------------------------------
>
>                 Key: CXF-5644
>                 URL: https://issues.apache.org/jira/browse/CXF-5644
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS
>            Reporter: Sergey Beryozkin
>            Priority: Minor
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message