Hi Eric,

> Roughly speaking, instead of using the setXxx and getXxx pattern, these 
> packages use calls like document.getField("xxx") and 
> document.setField("xxx",value).

## snip

> Any pointers greatly appreciated.  If this doesn't exist, seems useful 
> to other people, and I manage to do it, I would of course be happy to 
> contribute it back to the project. (I could write a wrapper bean, but 
> this seems more fun, and since these classes have have changing field 
> sets, more useful as well)

Here's an Uberspect implementation for public field access.
    http://wiki.apache.org/jakarta-velocity/PublicFieldUberspect
## Written by, the one and only.  ;)

The implementation of #getPropertyGet() and #getPropertySet() should
give you clues to what you want to do.  And when you get it done, the
wiki page is a great place to contribute it to.

Best regards,
-- Shinobu Kawai

--
Shinobu Kawai <[EMAIL PROTECTED]>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to