diff options
Diffstat (limited to 'main/src/cgeo/geocaching/files/GPX11Parser.java')
| -rw-r--r-- | main/src/cgeo/geocaching/files/GPX11Parser.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/files/GPX11Parser.java b/main/src/cgeo/geocaching/files/GPX11Parser.java new file mode 100644 index 0000000..4c8960b --- /dev/null +++ b/main/src/cgeo/geocaching/files/GPX11Parser.java @@ -0,0 +1,20 @@ +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"); + } + +} |
