Stefan Bodewig wrote:
I do not like extra indent levels in general (- see the discussion on <local/> :-! )On Wed, 21 Apr 2004, Peter Reilly <[EMAIL PROTECTED]> wrote:
The only thing to keep in mind is that the following (I think) should still work.
<copy ...> <mapper chain="yes"> <globmapper .../> <mymapper ../> </mapper> </copy>
as against:
<copy ....>
<mapper>
<chainmapper>
...
</chainmapper>
</mapper>
</copy>
Why is this desirable? Less wordy or for a different reason.
But on reflection, it may be better to use the <chainmapper> element
in this case, inside an implicit <compositemapper> aka <mapper>
This could be done by adding an add(Mapper) method to the Copy class.
or
<copy .....>
<chainmapper>
...
</chainmapper>
</copy>
Should be our goal, but wouldn't work right now, correct?
I am not too sure that this is a goal as this in effect makes Copy a container
class for mappers, this should be I think done by the Mapper class itself.
Peter
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]