Re: Support properties on interfaces

See the standard Java and Javascript bindings included with the DOM spec
(and the non-standardized bindings available from other sources) for
specific examples of how the abstract IDL concepts of "interface" and
"property" are typically converted into actual callable APIs.

Generally, an interface maps to whatever the specific language offers as a
completely abstract class/interface/object-API.  If the language can't
offer that, the binding has to come up with some equivalent way to
reference the objects.

Generally, a property will be mapped to a getter method, a setter method,
or both... but it may map to field access in some bindings. Again, this
depends on the characteristics of the language you're developing the
binding for.

______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"The world changed profoundly and unpredictably the day Tim Berners Lee
got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk

Received on Tuesday, 1 July 2003 09:45:36 UTC