diff options
Diffstat (limited to 'src/cgeo/geocaching/files/GPX11Parser.java')
| -rw-r--r-- | src/cgeo/geocaching/files/GPX11Parser.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/cgeo/geocaching/files/GPX11Parser.java b/src/cgeo/geocaching/files/GPX11Parser.java new file mode 100644 index 0000000..d890e6d --- /dev/null +++ b/src/cgeo/geocaching/files/GPX11Parser.java @@ -0,0 +1,19 @@ +package cgeo.geocaching.files;
+
+import cgeo.geocaching.cgSearch;
+import cgeo.geocaching.cgeoapplication;
+import android.sax.Element;
+
+public final class GPX11Parser extends GPXParser {
+
+ public GPX11Parser(cgeoapplication appIn, int listIdIn,
+ cgSearch searchIn) {
+ super(appIn, listIdIn, searchIn, "http://www.topografix.com/GPX/1/1", "1.1");
+ }
+
+ @Override
+ protected Element getCacheParent(Element waypoint) {
+ return waypoint.getChild(namespace, "extensions");
+ }
+
+}
|
