serializer.startPrefixMapping("", NAMESPACE_UNKNOWN_DEVICES);
serializer.startElement(NAMESPACE_UNKNOWN_DEVICES,
ELEMENT_NAME_ENTRIES, ELEMENT_NAME_ENTRIES, EMPTY_ATTRIBUTES);
while (iter.hasNext()) {
final Entry entry =
(Entry) iter.next();
serializer.startElement(NAMESPACE_UNKNOWN_DEVICES,
ELEMENT_NAME_ENTRY, ELEMENT_NAME_ENTRY,
EMPTY_ATTRIBUTES);
// serialize name
final String name = entry.getResolvedName();
serializer.startElement(NAMESPACE_UNKNOWN_DEVICES,
ELEMENT_NAME_RESOLVED_NAME, ELEMENT_NAME_RESOLVED_NAME,
EMPTY_ATTRIBUTES);
serializer.characters(
name.toCharArray(), 0, name.length());
serializer.endElement(NAMESPACE_UNKNOWN_DEVICES,
ELEMENT_NAME_RESOLVED_NAME, ELEMENT_NAME_RESOLVED_NAME);
// serialize type
final String type = entry.getDeviceType();
serializer.startElement(NAMESPACE_UNKNOWN_DEVICES,
ELEMENT_NAME_DEVICE_TYPE, ELEMENT_NAME_DEVICE_TYPE,
EMPTY_ATTRIBUTES);
serializer.characters(type.toCharArray(), 0, type.length());
serializer.endElement(NAMESPACE_UNKNOWN_DEVICES,