Done. Thanks for the ping.
Marek Potociar wrote:
> Hi,
> I am forwarding this unanswered issue on behalf of a Metro user. Could
> you please respond?
>
> Thank you,
> Marek
>
> -------- Original Message --------
> Subject: JavaDoc for SimpleTypes/enumeration
> Date: Thu, 20 Sep 2007 14:13:25 +0200
> From: Ingo Siebert <ingo.siebert_at_cas.de>
> Reply-To: users_at_metro.dev.java.net
> To: users_at_metro.dev.java.net
>
>
>
> Hi,
>
> i have a XSD which contains a XML simple type.
>
> All enumerations elements are containing an annotation/documentation
> element which describes the enum value.
> But the generated enum (WSImport) does not include the documentation for
> the enum values.
>
> Is there a way to get javadoc for the enumeration values?
> If not, is it possible to include this feature in a future version of
> WSImport(JAX-WS)?
>
>
> <schema xmlns="http://www.w3.org/2001/XMLSchema"
> elementFormDefault="qualified" attributeFormDefault="qualified"
> targetNamespace="http://faults.wsdl.eim.cas.de"
> xmlns:faults="http://faults.wsdl.eim.cas.de"
> xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" jaxb:version="2.0">
>
> <simpleType name="ExceptionCode">
> <restriction base="string">
> <enumeration value="DATA_LAYER">
> <annotation>
> <documentation>
> A javadoc text which should be in enumeration.
> </documentation>
> </annotation>
> </enumeration>
> <enumeration ...
>
> Cheers,
>
> Ingo
>
> --
> CRM Products Development - EIM
>
> CAS Software AG
> Well informed. Always and everywhere.
> www.cas.de
>
> CAS Software AG - Wilhelm-Schickard-Stra?e 10-12 - 76131
> Karlsruhe - Telefon +49 721 9638-0 - www.cas.de - Impressum
> und AGB
> Vorstand: Martin Hubschneider (Vorsitz) - Ludwig Neer - Frank
> Widmayer
> Aufsichtsrat: Dr. Dr. J?rg Maurer (Vorsitz) - Prof. Dr. Peter
> Lockemann - Dr. habil. Karl Schlagenhauf Amtsgericht Mannheim -
> Handelsregister-Nr.: HRB 108751 - UID Nr.: DE143593148
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_metro.dev.java.net
> For additional commands, e-mail: users-help_at_metro.dev.java.net
>
>
>
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com