users@jaxb.java.net

Re: Re: generate javadoc

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Sun, 30 Dec 2007 12:41:24 +0100

example:

        <xsd:complexType name="ConfigPdfTemplate">
                <xsd:annotation><xsd:appinfo><jaxb:class>
                                        <jaxb:javadoc>
                                                <![CDATA[ This comment works fine... ]]>
                                        </jaxb:javadoc>
                                </jaxb:class></xsd:appinfo>
                </xsd:annotation>
                <xsd:attribute name="pdf.template.filename" type="xsd:string">
                        <xsd:annotation>
                                <xsd:appinfo>
                                        <jaxb:javadoc>
                                                <![CDATA[ I want to comment this...]]>
                                        </jaxb:javadoc>
                                </xsd:appinfo>
                        </xsd:annotation>
                </xsd:attribute>

Should I create a different type based on String just to include the
documentation ??


On Dec 30, 2007 12:19 PM, Felipe Gaścho <fgaucho_at_gmail.com> wrote:
> ok, my steps now:
>
> 1) create the schema
> 2) generate the classes
> 3) pack the JAR file for distribution
>
> if I include the java files in the JAR, the developers can see the javadoc.
>
> Is there a way to include the javadoc in the JAR file without the need
> to include the java files ? Does it make sense ?
>
>
>
> On Dec 29, 2007 9:52 PM, Felipe Gaścho <fgaucho_at_gmail.com> wrote:
> > > What do you mean by "and I want to know how to define that "Possible values" in the getter/setter methods...."?
> >
> > if you don't change anything and do generate the classes, the javadoc
> > of the getters and setters methods include a partial message "possible
> > value".. I was looking for a way to include the values, like: "number
> > of trains or null..."
> >
>