JAXB: Object Mapping by using XML Contenten and Elements
I am new to JAXB and I do have an question. Is it possible to use content of an xml-file within mapping declarations (like hibernate can do?)
Instead of using the Activity element from the xsd below, i want to use the content of the "type" element to create different Activity objects. Is this possible?
<?xml version="1.0" encoding="UTF-8"?>