JavaType javaType = new JavaSimpleType(mapping.getType());
return new JAXBType(qname, javaType, mapping, jaxbModel);
}
public TypeAndAnnotation getElementTypeAndAnn(QName qname){
JAXBMapping mapping = jaxbModel.get(qname);
if (mapping == null){
return null;
}
return mapping.getType().getTypeAnn();
}