jon * wrote:

> on 2/17/00 6:14 PM, John Ky <[EMAIL PROTECTED]> wrote:
>
> > Added a new way of method chaining
> > in ECS.  It works like this:
> >
> > ElementClass ec = new ElementClass()
> > .set.someattribute(/* */)
> > .set.someattribute(/* */)
> > .add.element(/* */)
> > .add.element(/* */);
> >
> > Allows subclassed objects to use
> > consistent names.
>
> I don't get how .set. would work? What is .set.?
>
> So far I'm -1 on this change. All you are trying to do is save typing and
> that isn't a good solution for consistency. I believe that I have documented
> our reasoning for all of this in the FAQ.

I'm +1 on this change as it provides us way to override all those addElement
methods by utilizing inner classes, though I think this is a 2.0 type change
and not a 1.x change, but I would like to see the code and some examples of
it's use as well.

-stephan



--
------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to