The schema->Java generation is done by JAXB. I am cross posting to
users_at_jaxb. One option is that can use JAXB customization file to
generate javadoc comments.
-vivek.
Ingo Siebert wrote:
> Hi,
>
> i wrote a WSDL and some XSDs for my web service.
>
>
> WsImport generates the classes and all beans for me, but i'm missing
> JavaDoc comments.
>
> That's a snippet of my XSD:
>
> <xsd:complexType name="TransferableDataObject">
> <xsd:annotation>
> <xsd:documentation>JAVADOC ONE</xsd:documentation>
> </xsd:annotation>
>
> <xsd:sequence>
> <xsd:element minOccurs="1" maxOccurs="1" nillable="true"
> name="objectType" type="xsd:string" >
> <xsd:annotation>
> <xsd:documentation>JAVADOC TWO</xsd:documentation>
> </xsd:annotation>
> </xsd:element>
> ...
>
>
>
> If i look at the generated classes, only "JAVADOC ONE" is included as
> JavaDoc comment, but "JAVADOC TWO" is missing.
>
> I think the comment "JAVADOC TWO" should appear at the getter and
> setter of the property.
> What do you think?
>
> Cheers,
>
> Ingo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: users-help_at_jax-ws.dev.java.net
>