@Override
public Element export(ExportSupport support) throws IOException {
Element layerElem = support.createElement("layer");
layerElem.setAttribute("type", "imagery");
layerElem.setAttribute("version", "0.1");
ImageryPreferenceEntry e = new ImageryPreferenceEntry(layer.getInfo());
Map<String,String> data = Preferences.serializeStruct(e, ImageryPreferenceEntry.class);
for (Map.Entry<String,String> entry : data.entrySet()) {
Element attrElem = support.createElement(entry.getKey());
layerElem.appendChild(attrElem);
attrElem.appendChild(support.createTextNode(entry.getValue()));