}
if (value == null) {
return super.children();
}
if (isSimpleType(value.getClass())) {
XmlNode textNode = new BeanXmlNodeImpl(null, value);
return Arrays.asList(textNode).iterator();
}
if (Map.class.isAssignableFrom(value.getClass())) {
List<XmlNode> entries = new ArrayList<XmlNode>();
Map map = (Map)value;