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: getAppStructureById?


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.
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?


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