You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2013/03/06 22:32:13 UTC
[jira] [Commented] (CXF-4868) cxf-xjc plugin generate List for
wrapped lists
[ https://issues.apache.org/jira/browse/CXF-4868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13595140#comment-13595140 ]
Daniel Kulp commented on CXF-4868:
----------------------------------
Umm... Why can't you use that plugin with the cxf-xjc plugin? That's a standard XJC plugin that should be usable with all the CXF code generator things.
> cxf-xjc plugin generate List<T> for wrapped lists
> -------------------------------------------------
>
> Key: CXF-4868
> URL: https://issues.apache.org/jira/browse/CXF-4868
> Project: CXF
> Issue Type: Improvement
> Components: Tooling
> Affects Versions: 2.7.3
> Environment: All
> Reporter: Matt Pavlovich
>
> It would be really handy to have a wrapped lists not implement a wrapper class, but instead just generate List<T> references (classes, and method signatures in services.)
> Similar to the xew xjc plugin: https://github.com/dmak/jaxb-xew-plugin
> <CarList>
> <Car type="import" engine="v6"/>
> <Car type="domestic" engine="v8"/>
> </CarList>
> Currently..
> List<Car> cars = CarList.getCar()...
> ^-- No need for the "CarList.class"
> Thanks!
> Matt
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira