Title: Filter on Java Bean Methods during marsheling

Hi,

Can the Castor marsheling use a filter mechanism to produce XML output for few methods on the java beans and ignore the remaining methods ?

Example :

public class  A{

   public int getX(){return 0];
   public int getY(){return 1];

}

When I use the above java bean object to the castor Marshaller, I want to get only getX method output in the XML. I want the Marshaller to ignore the getY method and do not produce anything for getY.

Thanks in advance,
Kalu

Confidentiality Notice

The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately
and destroy all copies of this message and any attachments.

Reply via email to