.class public abstract Lcom/moji/location/worker/AbsReGeoWorker;
.super Ljava/lang/Object;
.source "AbsReGeoWorker.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/moji/location/worker/AbsReGeoWorker$AbsMJOnGeoSearchListener;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "<GeoQuery:",
        "Ljava/lang/Object;",
        "Result:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/lang/Object;"
    }
.end annotation


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 13
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method abstract a()Lcom/moji/location/geo/IGeoQueryParser;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lcom/moji/location/geo/IGeoQueryParser<",
            "TGeoQuery;>;"
        }
    .end annotation
.end method

.method public a(Landroid/content/Context;Lcom/moji/location/geo/MJReGeoCodeQuery;Lcom/moji/location/MJOnGeoCodeSearchListener;)V
    .locals 2

    .line 25
    invoke-virtual {p0}, Lcom/moji/location/worker/AbsReGeoWorker;->a()Lcom/moji/location/geo/IGeoQueryParser;

    move-result-object v0

    .line 26
    invoke-virtual {p0}, Lcom/moji/location/worker/AbsReGeoWorker;->b()Lcom/moji/location/geo/IGeoResultParser;

    move-result-object v1

    if-eqz v0, :cond_1

    if-eqz v1, :cond_0

    .line 34
    invoke-interface {v0, p2}, Lcom/moji/location/geo/IGeoQueryParser;->b(Lcom/moji/location/geo/MJReGeoCodeQuery;)Ljava/lang/Object;

    move-result-object p2

    new-instance v0, Lcom/moji/location/worker/AbsReGeoWorker$1;

    invoke-direct {v0, p0, p3, v1}, Lcom/moji/location/worker/AbsReGeoWorker$1;-><init>(Lcom/moji/location/worker/AbsReGeoWorker;Lcom/moji/location/MJOnGeoCodeSearchListener;Lcom/moji/location/geo/IGeoResultParser;)V

    invoke-virtual {p0, p1, p2, v0}, Lcom/moji/location/worker/AbsReGeoWorker;->a(Landroid/content/Context;Ljava/lang/Object;Lcom/moji/location/worker/AbsReGeoWorker$AbsMJOnGeoSearchListener;)V

    return-void

    .line 31
    :cond_0
    new-instance p1, Ljava/lang/IllegalStateException;

    const-string p2, "getResultParser() should not return null"

    invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw p1

    .line 28
    :cond_1
    new-instance p1, Ljava/lang/IllegalStateException;

    const-string p2, "getQueryParser() should not return null"

    invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw p1
.end method

.method abstract a(Landroid/content/Context;Ljava/lang/Object;Lcom/moji/location/worker/AbsReGeoWorker$AbsMJOnGeoSearchListener;)V
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "TGeoQuery;",
            "Lcom/moji/location/worker/AbsReGeoWorker$AbsMJOnGeoSearchListener<",
            "TResult;>;)V"
        }
    .end annotation
.end method

.method abstract b()Lcom/moji/location/geo/IGeoResultParser;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lcom/moji/location/geo/IGeoResultParser<",
            "TResult;>;"
        }
    .end annotation
.end method
