[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [x3d-public] Checking node type



George Birbilis wrote:
Btw, why are all objects the same class? There should many classes all
descending from the same class. When you have

SomeClass x;
x=new SomeClassDescendent();

This isn't required by the X3D spec. It's much easier to implement 1 wrapper then hundreds of concrete classes.

The instanceof checks would always be browser specific which we want to avoid. SAI code should be portable between browsers. There are some concrete interfaces on the higher levels of SAI but we haven't implemented them yet.



--
Alan Hudson

President Yumetech, Inc.                               www.yumetech.com
President Web3D Consortium                             www.web3d.org
206 340 8900
-------------------------------------------------------------------------
for list subscription/unsubscription,
go to http://www.web3d.org/cgi-bin/public_list_signup/lwgate/listsavail.html