OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

cgmo-webcgm message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [cgmo-webcgm] getAppStructureById?

Hi Don,

I think it could be changed... All implementations should be returning a
WebCGMAppStructure any way.

 Benoit   mailto:benoit@itedo.com

This e-mail and any attachments are confidential and may be protected
by legal privilege. If you are not the intended recipient, be aware
that any disclosure, copying, distribution or use of this e-mail or
any attachment is prohibited. If you have received this e-mail in
error, please notify us immediately by returning it to the sender and
delete this copy from your system. Thank you for your cooperation. 

Monday, April 17, 2006, 4:46:11 PM, you wrote:

> Lofton,

> I'm struggling with the definition of the getAppStructureById. In the spec
> it indicates that getAppStructureById returns a WebCGMNode. 

> But the examples and tests imply that it is returning a WebCGMAppStructure
> object, e.g.
> http://www.w3.org/Submission/2006/SUBM-WebCGM20-20060313/WebCGM20-DOM.html#L5095
> In this example it is using pic.getAppstructure("A"); to get
> "obj" floowed by obj.setAppStructureAttr. But if "obj" is of type 
> WebCGMNode, it doesn't have a setAppStructureAttr member?

> I understand that WebCGMnode is the base of  the WebCGMAppStructure 
> interface and so inherits the attributes of WebCGMNode. But WebCGMNode
> doesn't inherit from WebCGMAppStructure. 

> So What am I missing here?

> Regards, 
> Don.

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]