for (RuntimeTypeRef typeRef : propEl.getTypes()) {
handlePropertyTypeRef(classBuilder, parentClass, propEl, typeRef);
}
} else if (prop instanceof RuntimeAttributePropertyInfo) {
RuntimeAttributePropertyInfo propAt = (RuntimeAttributePropertyInfo) prop;
Type rawType = propAt.getRawType();
Class c = (Class) propAt.getTarget().getType();
if (rawType instanceof Class) {
c = (Class) rawType;
}
JType jt = getType(rawType);
String propName = JaxbUtil.getGetter(parentClass, propAt.getName(), rawType);
WriterBuilder atBuilder =
classBuilder.writeAttribute(propAt.getXmlName(),
jt,
classBuilder.getObject().invoke(propName));
if (propAt.isCollection()) {
logger.info("(JAXB Writer) Attribute lists are not supported yet!");
} else {
writeSimpleTypeAttribute(atBuilder, rawType, c, jt);
}
} else if (prop instanceof RuntimeValuePropertyInfo) {