I just created WODEN-40 for this. In order to implement the clone
function either the XxxElement interface or implementation of the
XxxElement should implement cloneable. I've opted to for the
implementation class to implement Cloneable to prevent forcing
XxxElement implementers having to implement Cloneable - after all
another implementation may choose to use some other mechanism for
cloning.

Cheers,
Jeremy

On 6/13/06, John Kaputin <[EMAIL PROTECTED]> wrote:
+1, but also remove any addXXX methods in the API.

This approach enforces the composition-based model where a nested element
only exists within its parent and it also supports the reuse of common
definitions (faults, messages, etc) via deep cloning.

regards,
John Kaputin

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

Reply via email to