Sure. Have a look at
http://castor.org/srcgen-binding.html#%3Cmember%3E-element
first, where you'll be able to see thy syntax for the <member> construct
of the binding file, and where you'll find short descriptions for the
supported attributes, incl. 'validator' and 'handler'.
Now take the example shown a few lines furtehr down in this section, and
extend it to define e.g .a custom handler instance as follows:
<elementBinding name="/root/members">
<member collection="set" handler="your.custom.Handler"/>
</elementBinding>
Does this explain it sufficiently ?
Werner
Mitesh51 wrote:
Thank you 4 reply but can u give example or explain in more detail?
Werner Guttmann wrote:
No, not really. But it allows you to set custom FieldHandlers and
Validator instances on the Java members as generated during code
generation.
Werner
Mitesh51 wrote:
plz explain Use of handler and validator In binding file.. is it used to
resolve the conflicts between duplicate member name??
please give an example.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email