try `javadoc -private`
> -----Original Message-----
> From: Bhatt, Vijay [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 08, 2002 9:22 AM
> To: [EMAIL PROTECTED]
> Subject: [castor-dev] Javadocs for generated public methods?
>
>
> After using the SourceGenerator on the following piece of schema, the
> private attribute contains comments but these
> comments are not useful for people reading the javadocs since private
> attributes don't show up. See example below.
> Is it possible to use the supplied XML documentation information
> incorporated for the getter and setter methods for those private
> attributes?
>
> <xs:attribute name="TS270A1__BHT05__TransactionSetCreationTime"
> type="xs:string" use="required">
> <xs:annotation>
> <xs:documentation>Transaction Set Creation
> Time</xs:documentation>
> </xs:annotation>
> </xs:attribute>
>
> Castor generated
>
> /**
> * Transaction Set Creation Time
> **/
> private org.exolab.castor.types.Time
> _tS270A1BHT04TransactionSetCreationTime
>
> Currently Castor generates this for the getter method:
>
> /**
> **/
> public java.lang.String getTS270A1BHT05TransactionSetCreationTime()
> {
> return this._tS270A1BHT05TransactionSetCreationTime;
> } //-- java.lang.String getTS270A1BHT05TransactionSetCreationTime()
>
> but ideally it should generate:
>
> /**
> Getter for Transaction Set Creation Time
> **/
> public java.lang.String getTS270A1BHT05TransactionSetCreationTime()
> {
> return this._tS270A1BHT05TransactionSetCreationTime;
> } //-- java.lang.String getTS270A1BHT05TransactionSetCreationTime
>
> Ant suggestions on this will be appreciated.
>
> Thanks
> Vijay C. Bhatt
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
> unsubscribe castor-dev
>
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev