while (rd.hasNext()) {
int nextTag = rd.next();
outer: switch (nextTag) {
case XMLStreamConstants.CHARACTERS :
if (!rd.getText().trim().isEmpty()) {
for (Field f : object.fields()) {
if (f.getType() == String.class) {
f.set(object, rd.getText());
break outer;
}
}