Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » XSDResourceImpl
XSDResourceImpl [message #75925] Fri, 10 October 2008 04:28 Go to next message
gitanjali punj is currently offline gitanjali punjFriend
Messages: 59
Registered: July 2009
Member
Hi,
In the class XSDResourceImpl there is a method caled
findSchemas and handleSchemaElement.Can you please explain
the use/functionality of these methods.
Also in the method handleSchemaElement there is a method
parameter called boolean 'isMeta',what does it signify?
Re: XSDResourceImpl [message #75965 is a reply to message #75925] Fri, 10 October 2008 11:18 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33218
Registered: July 2009
Senior Member
Gitanjali,

Comments below.

Gitanjali Punj wrote:
> Hi,
> In the class XSDResourceImpl there is a method caled
> findSchemas
Typically the schema would be the root element, but in a WSDL document,
there are embedded schemas. This method searches the DOM tree for
<schema> elements from the schema namespace.
> and handleSchemaElement.
That method is called for each <schema> element. An XSDSchema is
created and the <schema> element is associated with that XSDSchema
instance so that the correspond EMF XSD model can be created to
correspond to the structure specified in the DOM.
> Can you please explain the use/functionality of these methods.
> Also in the method handleSchemaElement there is a method parameter
> called boolean 'isMeta',what does it signify?
In XSDSchemaImpl the framework needs to manage the special XML Schema
for Schemas, which is the meta schema for all instance schemas. This
schema defines all the built-in simple type definitions and those are
needed by all other non-meta schemas.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: XSDResourceImpl [message #603361 is a reply to message #75925] Fri, 10 October 2008 11:18 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33218
Registered: July 2009
Senior Member
Gitanjali,

Comments below.

Gitanjali Punj wrote:
> Hi,
> In the class XSDResourceImpl there is a method caled
> findSchemas
Typically the schema would be the root element, but in a WSDL document,
there are embedded schemas. This method searches the DOM tree for
<schema> elements from the schema namespace.
> and handleSchemaElement.
That method is called for each <schema> element. An XSDSchema is
created and the <schema> element is associated with that XSDSchema
instance so that the correspond EMF XSD model can be created to
correspond to the structure specified in the DOM.
> Can you please explain the use/functionality of these methods.
> Also in the method handleSchemaElement there is a method parameter
> called boolean 'isMeta',what does it signify?
In XSDSchemaImpl the framework needs to manage the special XML Schema
for Schemas, which is the meta schema for all instance schemas. This
schema defines all the built-in simple type definitions and those are
needed by all other non-meta schemas.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:XSDConcreteComponentImpl
Next Topic:XSDConcreteComponentImpl
Goto Forum:
  


Current Time: Wed Sep 25 07:23:05 GMT 2024

Powered by FUDForum. Page generated in 0.07963 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top