org.jdom.Element value = new org.jdom.Element("value", parent.getNamespacePrefix(), parent.getNamespaceURI());
if (i == 0) {
generateExampleXml(keyType, key, null, defaultNs, maxDepth);
}
else {
key.addContent(new Comment("(another '" + keyType.getName() + "' type)"));
}
entry.addContent(key);
if (i == 0) {
generateExampleXml(valueType, value, null, defaultNs, maxDepth);
}
else {
value.addContent(new Comment("(another '" + valueType.getName() + "' type)"));
}
entry.addContent(value);
parent.addContent(entry);
}
parent.addContent(new org.jdom.Comment("...more entries..."));