Hello i don't know how to develop the next problem:

I have an Abstract DataType call it Shape and two extensions Circle and Square.

Then i have an XML file with circles and squares, with tag <Shape xsi:type="CircleType" ..../> and <Shape xsi:type="SquareType".../>

First of all i read all circles and squares but of course using Shape.Factory.parse so a Shape is returned. Now i wanted to know if what i have is a CircleType or SquareType.

Is any function in XML Beans to know it?

Thank you very much.


La información contenida en el presente e-mail es confidencial y está reservada 
para el uso exclusivo de su destinatario. Se prohíbe estrictamente la 
distribución, copia o utilización de esta información sin el previo permiso de 
su destinatario. Si usted no fuera el destinatario, por favor notifíquelo 
inmediatamente al remitente y elimine el presente mensaje de su sistema 
informático.

Information contained in this e-mail is confidential and is intended for the 
use of the addressee only. Any dissemination, distribution, copying or use of 
this communication without prior permission of the addressee is strictly 
prohibited. If you are not the intended addressee, please notify the sender 
immediately by reply and then delete this message from your computer system.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to