I've even tried hardcoding it:
<XDtMethod:ifHasMethod name="setXyz">
has method
</XDtMethod:ifHasMethod>
And it still did not output "has method".
Help!
Thanks,
Erik
----- Original Message -----
From: "Erik Hatcher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 16, 2002 8:15 PM
Subject: [Xdoclet-user] XDtMethod:ifHasMethod ????
> I have a class that has:
>
> public void setXyz (String xyz)
>
> And I'm using this in a custom template:
>
> setter method = <XDtMethod:setterMethod/>
> <XDtMethod:ifHasMethod name="<XDtMethod:setterMethod/>">
> has method
> </XDtMethod:ifHasMethod>
>
>
> And it outputs:
>
> setter method = setXyz
>
> but does not output "has method".
>
> Am I missing something basic here?
>
> I've seen the syntax:
> <XDtMethod:ifHasMethod name="<XDtMethod:setterMethod/>"
> parameters="<XDtMethod:methodType/>">
>
> used to find getters (right?), but how do I find and process setters? (my
> class does not have getters, only setters).
>
> Thanks,
> Erik
>
>
>
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user