Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Dynamic explore xsd attributes or metadata information through Moxy question
Dynamic explore xsd attributes or metadata information through Moxy question [message #1775538] Tue, 31 October 2017 16:35
John Todd is currently offline John ToddFriend
Messages: 2
Registered: October 2017
Junior Member
First thanks for providing this artifact for interacting with xsd.

I am totally new to Moxy. When following the doc (https://wiki.eclipse.org/EclipseLink/Examples/MOXy/Dynamic/JAXBContextFromXMLSchema), I can create context object. But how can I explore xsd metadata or attributes?

My problem is the xsd file I acquire may change overtime, so I need a way to obtain fields inside xsd files, and then handle that accordingly. But in java doc DynamicEntity.html or DynamicHelper.html, it looks like there is no way to achieve such effect.

For instance, xsd may contain nested structure like
element: SomeComplexType 
  +  element: OtherType
  + attribute: ...
  + ...
attribute: a
attribute: b
...
attribute: N


I want to be able to explore or obtain all those information so I can perform some specific operations based on xsd's definition. Any way to achieve such effect?

Any advices or commentaries are appreciated.

Thanks
Previous Topic:Dynamic retrieve xsd information through Moxy
Next Topic:@Version timestamp; select local or server time
Goto Forum:
  


Current Time: Mon Dec 11 23:01:17 GMT 2017

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

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