|Dynamic explore xsd attributes or metadata information through Moxy question [message #1775538]
||Tue, 31 October 2017 16:35
| John Todd
Registered: October 2017
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: OtherType
+ attribute: ...
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.
Powered by FUDForum
. Page generated in 0.01498 seconds