private void writeGsakExtensions(@NonNull final Waypoint waypoint) throws IOException {
        gpx.startTag(NS_GSAK, "wptExtension");

        gpx.startTag(NS_GSAK, "Parent");
        gpx.text(waypoint.getGeocode());
        gpx.endTag(NS_GSAK, "Parent");

        if (waypoint.isUserDefined()) {
            gpx.startTag(NS_GSAK, "Child_ByGSAK");
            gpx.text("true");
            gpx.endTag(NS_GSAK, "Child_ByGSAK");
        }

        gpx.endTag(NS_GSAK, "wptExtension");
    }
counter for exported caches, used for progress reporting
main/src/main/java/cgeo/geocaching/export/GpxSerializer.java