Skip to main content


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:<property name="eclipselink.canonicalmodel.generate_timestamp" value="false"/
Next Topic:Dynamic retrieve xsd information through Moxy
Goto Forum:
  


Current Time: Thu Apr 25 10:02:41 GMT 2024

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

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

Back to the top