If the class you're interested in has a non-abstract <mapping> definition you can find the name information by first getting the index from the class using the IMarshallable.JiBX_getIndex() method, then using that index to find the element name and namespace with the IBindingFactory getElementNames() and getElementNamespaces() methods (which return arrays, indexed by the class index). If the class *doesn't* have a non-abstract <mapping> definition then there's no particular element name associated with the class.

 - Dennis

Pedros wrote:

JibX binding does not change the name of Java class.

Yes, I know. But you can control name of the xml tag, which represents
given class and i need to know this tag's name.


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to