Hi all:

Let's say you get an interface from some particular getter function. Is
there any easy way to determine what object actually implements it? And how
can you know what other interfaces you can query to the original one?

Well, actually first question answers the second one since if you know what
object implements an interface, you can immediatly tell what other
interfaces it implements.

One situation where I've had this problem has been when traversing the DOM
tree, where you can't tell in advance what interfaces are implemented by a
concrete DOM node.

Any help is greatly appreciated. Thank you in advance.




Reply via email to