예제 #1
0
 /**
  * Add a key / value pair that is not part of the GPX schema as an extension.
  *
  * @param key the key
  * @param value the value
  */
 @Override
 public void addExtension(String key, String value) {
   if (!attr.containsKey(META_EXTENSIONS)) {
     attr.put(META_EXTENSIONS, new Extensions());
   }
   Extensions ext = (Extensions) attr.get(META_EXTENSIONS);
   ext.put(key, value);
 }