<Kees Jongenburger:>
> 
> What does the instanceof realy mean?
> if I create a new news type that contains one image
> <builder name="ImageNews" extends="news">
>        <classfile>Images</classfile>
>       <field type='BYTE" name="handle"/>
>         .....
> </builder>

> the MyNews builder extends news so is instanceof news?
> the MyNews builder extends the Images class and so is 
> instanceof images?

Builder inheritance versus class inheritance:

1) The ImageNews builder extends the news builder (builder inheritance).
2) The ImageNews builder class is an instance of (but does not extend)
Images, and extends MMObjectBuilder (class inheritance).

Since we were discussing builder inheritance, 1) is the statement that is
relevant to our topic.

Rob van Maris
Senior Developer

Finalist IT Group
Java Specialists
-------------------------------------------------------------
Amsterdam, The Netherlands                          
Office:         +31 20 5962321 (Direct)
Mobile: +31 651444006
Fax:    +31 20 5962331
------------------------------------------------------------- 

Reply via email to