DataProperty[] properties = getProperties();
for (DataProperty property : properties) {
printIndent(out, indent++);
out.println("<dataproperty id=\"" + StringEscapeUtils.escapeXml(property.getPropertyId()) + "\">");
printIndent(out, indent);
Domain domain = property.getDomain();
String convertedFromNumeric = "";
if (domain instanceof LabelDomain && ((LabelDomain)domain).isConvertedFromNumeric()) convertedFromNumeric = " convertedFromNumeric=\"true\" ";
out.println("<domain" + convertedFromNumeric + ">" + StringEscapeUtils.escapeXml(property.getDomain().getClass().getName()) + "</domain>");
Map<Locale,String> names = property.getNameI18nMap();
if (names != null) {