cls = JAXBUtils.getValidClass(cls);
if (null != cls) {
if (cls.isInterface()) {
//interfaces cannot be added directly, however, they
//may have some interesting annoations we should consider
XmlSeeAlso xsa = cls.getAnnotation(XmlSeeAlso.class);
if (xsa != null) {
for (Class c : xsa.value()) {
addClass(c);
}
}
XmlJavaTypeAdapter xjta = cls.getAnnotation(XmlJavaTypeAdapter.class);
if (xjta != null) {