Choosing the subclass based on XML element attribute using annotation?

ViChiX

New Member
Ex:Class A has two methodsClass B extends Class A has two methods and attribute type = "B"Class C extends Class A has two methods and attribute type = "C"The XML has the root element as "A" which attribute type as "B" or "C"Could you please let me know the XML annotation should exist for class A, B and C?Thanks in advance,Kathir
 
Back
Top