Matt Pavlovich created CXF-4868:
-----------------------------------

             Summary: 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

Reply via email to