Hi,
i have several classes (A,B,C...), all have the same superclass (Base.class).
Is it possible to set the superclass into the context and not all of
my classes (A,B,C..)?
E.g.:
private JAXBContext context;
private Class<?>[] types = { Base.class };
public JaxbContextResolver() throws Exception {
JSONConfiguration config = JSONConfiguration.natural().build();
this.context = new JSONJAXBContext(config, this.types);
}
...
Thanks
Sven