Hi Sergey,
Just to confirm. Both features will be included in 2.2.7 or are they
already included in 2.2.6?
Thanks again!
Gabo
Sergey Beryozkin wrote:
I've updated the WADL Generator to support the inclusion of the
external schemas. The following options are supported :
1. Schemas are classpath resources, schemas are inlined. JAXB is used
to generate the referencs to schema elements. This option is a similar
to the existing one but the schemas which have been used to generate
the JAXB classes will be copied intact as opposed to JAXB
'reproducing' them.
2. Only external links to schemas are provided, JAXB is still used to
generate the refs. Grammar section will contain the links only
3. Both schemas on classpath and external links are registered. In
this case external links are used to overwrite the schema imports if any
4. Any of the above options but no JAXB is used to generate the refs,
instead a newly introduced @XMLName annotation is checked on a class
itself, on the parameter or on the method. Ex, one could link to the
atom schema and annotate input/output parameters of type Abdera
Feed/Entry and have WADL generated. Similarly for XMLBeans/SDO
5. Similarly, one could regiter a custom ElementQNameResolver to
ensure a parameter of a given type is linked properly with the
corresponding schema element
Will be documenting it shortly...
Sergey