AccessibleObject[] accessors = objectContext.getAccessors(Attribute.class, conventions);
for (AccessibleObject accessor : accessors) {
QName qname = getQName(accessor);
Object value = eval(accessor, source);
if (value != null)
sw.writeAttribute(qname, toString(value));
}
}
protected boolean writeElement(Class<? extends Annotation> annotation,
Serializer serializer,