|
Re: How to traverse sequence / element within ComplexType [message #26223 is a reply to message #26185] |
Wed, 06 August 2003 11:36 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Sarit,
I assume that declaring your inability to figure this out is your indirect
way of asking a question...
The result of XSDComplexTypeDefinition.getContentType may be either an
XSDSimpleTypeDefinition or an XSDParticle, depending on whether the
content type is simple or complex. The result of XSDParticle.getTerm may
be either an XSDModelGroup, an XSDElementDeclaration, or an XSDWildcard.
The result of XSDModelGroup.getParticles is a list of XSDParticles. I
think that's all you need to know to traverse the content type.
Sarit wrote:
> I am not able figure out how to traverse sequence and elements defined
> within complex type.
|
|
|
Re: How to traverse sequence / element within ComplexType [message #575715 is a reply to message #26185] |
Wed, 06 August 2003 11:36 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
Sarit,
I assume that declaring your inability to figure this out is your indirect
way of asking a question...
The result of XSDComplexTypeDefinition.getContentType may be either an
XSDSimpleTypeDefinition or an XSDParticle, depending on whether the
content type is simple or complex. The result of XSDParticle.getTerm may
be either an XSDModelGroup, an XSDElementDeclaration, or an XSDWildcard.
The result of XSDModelGroup.getParticles is a list of XSDParticles. I
think that's all you need to know to traverse the content type.
Sarit wrote:
> I am not able figure out how to traverse sequence and elements defined
> within complex type.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03196 seconds