Hi Raj, Raj wrote:
> Hi > > > What is the purpose of com.thoughtworks.xstream.converters.Converter > Class. > > > I look for demo > http://xstream.codehaus.org/converter-tutorial.html > > > Without converter class, the output is > > <person> > <name>Guilherme</name> > </person> > > With converter class, the output is > <person> > <fullname>Guilherme</fullname> > </person> > > But we can achieve output same as tag name <fullname> with > > @XStreamAlias("fullname") > private String name; > > So what is the benefit of using converter. It is a simple example of how to write one. ;-) - Jörg --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email