if (descriptorN != null) {
Node firstFieldN = DomUtil.getChild(descriptorN, "field");
for (Node fieldN = firstFieldN; fieldN != null; fieldN = DomUtil.getNext(fieldN)) {
FieldInfo fi = new FieldInfo();
DomUtil.setAttributes(fi, fieldN);
ai.addField(fi);
}
}
// Add this info to our managed bean info
managed.addAttribute(ai);