@Override public void container(String text) { mCacheTagSqlWriter.container(text); }
@Override public void cacheType(String text) { mCacheTagSqlWriter.cacheType(text); }
@Override public void close(boolean success) { mCacheTagSqlWriter.stopWriting(success); }
@Override public void wptName(String wpt) throws IOException { mCacheTagSqlWriter.id(wpt); mMessageHandler.updateWaypointId(wpt); mWakeLock.acquire(GpxToCache.WAKELOCK_DURATION); }
@Override public void available(String attributeValue) { if (attributeValue != null) mCacheTagSqlWriter.available(attributeValue.equalsIgnoreCase("True")); }
@Override public void wpt(String latitude, String longitude) { mCacheTagSqlWriter.latitudeLongitude(latitude, longitude); }
@Override public void wptDesc(String cacheName) { mCacheName = cacheName; mCacheTagSqlWriter.cacheName(cacheName); }
@Override public void symbol(String text) { mCacheTagSqlWriter.symbol(text); }
@Override public void terrain(String text) { mCacheTagSqlWriter.terrain(text); }
@Override public void open(String path) { mMessageHandler.updateSource(path); mCacheTagSqlWriter.startWriting(); mCacheTagSqlWriter.gpxName(path); }
@Override public void startCache() { mCacheName = ""; mCacheTagSqlWriter.clear(); }
@Override public void groundspeakName(String text) { mCacheTagSqlWriter.cacheName(text); }
@Override public boolean gpxTime(String gpxTime) { return mCacheTagSqlWriter.gpxTime(mClearCachesFromSource, mGpxWriter, gpxTime); }
@Override public void endCache(Source source) throws IOException { mMessageHandler.updateName(mCacheName); mCacheTagSqlWriter.write(source); mCachesLoaded++; }
@Override public void end() { mCacheTagSqlWriter.end(mClearCachesFromSource); }
@Override public void difficulty(String text) { mCacheTagSqlWriter.difficulty(text); }