All templates have a set of merge points. You should define afile named
dataobject-custom.j and copy it where mergeDir parameter of ejbdoclet
points to. Dataobject will pick it on the fly and merge it.
If a template doesn't have such a merge point it's a bug.

Ara. 

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:xdoclet-user-
> [EMAIL PROTECTED]] On Behalf Of Jozsa Kristof
> Sent: Monday, December 03, 2001 6:19 PM
> To: [EMAIL PROTECTED]
> Subject: [Xdoclet-user] include custom function to data object
> 
> Hello,
> 
>   how can I include a function of mine into the XDoclet generated data
> object? I'd like to implement a toXML() function to each of my data
> classes
> to represent/convert the attributes of the object into an XML string
using
> Castor. Is there any easy way to do this?
> 
> Regards,
> Christopher
> --
> .Digital.Yearning.for.Networked.Assassination.and.Xenocide
> 
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to