Hi Godmar,
this sounds like a very usefull enhancement to me.
Could you please fill a new enhancement request at:
http://jira.codehaus.org/browse/CASTOR
Having said that we are quite busy in our spare time to get Castor XML
compliant with JAXB2 at the moment. Therefore the chances to get
enhancements added soon are low if you are not able to help us with a
patch. I'll promis to support you as far as I can to get things
implemented and added to the codebase if you are willing to work at such
a patch.
Another option for you would be to buy professional service which will
enable us to dedicate more time to Castor and give you a clear contract
when things are done.
Regards
Ralf
Godmar Back schrieb:
I would like to see the obvious application, which is a hierarchical
visitor for domain objects. Ideally, create both a visitor interface
and a visitor adapter (with empty implementations for all visit()
methods.)
A set of non-hierarchical visitors (say for a choice object to
simplify dispatching on the choice value's type), would be of use as
well. The two could be combined into a single framework by specifying
an optional "recurse" flag to the accept() method.
- Godmar
On 6/21/07, Ralf Joachim <[EMAIL PROTECTED]> wrote:
Hi Godmar,
we are familiar with the Visitor pattern but what do you like to achive.
Do you like the marshaller visit your domain objects?
Should the domain objects generated by codegen be Visitable?
Without a bit more of information we can only guess.
Having said that ATM we only offer Listeners as outlined by Werner.
Regards
Ralf
Godmar Back schrieb:
> On 6/21/07, Werner Guttmann <[EMAIL PROTECTED]> wrote:
>
>> Both Castor XML and JDO support the usage of *Listeners. In other
words,
>> it all depends. Can you elaborate what you are trying to achieve ?
>>
>
> You can read up on the pattern here:
> http://en.wikipedia.org/wiki/Visitor_pattern
> and
> http://c2.com/cgi/wiki?HierarchicalVisitorPattern
>
> - Godmar
>
> ---------------------------------------------------------------------
> 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
---------------------------------------------------------------------
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