CarrotChat v2.8.60.240131版本的 MD5 值为:2baf8b9f31830b86b5c5a85ae6b47e05
以下内容为反编译后的 l0.java 源代码,内容仅作参考
package ak.smack;
import ak.im.utils.Log;
import org.jetbrains.annotations.NotNull;
import org.jivesoftware.smack.packet.ExtensionElement;
import org.jivesoftware.smack.provider.ExtensionElementProvider;
import org.xmlpull.v1.XmlPullParser;
@kotlin.j(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0005\u0018\u0000 \u00072\u00020\u0001:\u0002\u0007\bB\u0005¢\u0006\u0002\u0010\u0002J\b\u0010\u0003\u001a\u00020\u0004H\u0016J\b\u0010\u0005\u001a\u00020\u0004H\u0016J\b\u0010\u0006\u001a\u00020\u0004H\u0016¨\u0006\t"}, d2 = {"Lak/smack/DeleteAllMessagePresence;", "Lorg/jivesoftware/smack/packet/ExtensionElement;", "()V", "getElementName", "", "getNamespace", "toXML", "Companion", "Provider", "ak-im_carrotArmV7Release"}, k = 1, mv = {1, 6, 0}, xi = 48)
public final class l0 implements ExtensionElement {
@NotNull
public static final a a = new a(null);
@NotNull
private static final String f4462b = "DeleteAllMessagePresence";
@kotlin.j(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u000e\u0010\u0006\u001a\u00020\u0004X\u0082D¢\u0006\u0002\n\u0000¨\u0006\u0007"}, d2 = {"Lak/smack/DeleteAllMessagePresence$Companion;", "", "()V", "ELEMENT", "", "NAMESPACE", "TAG", "ak-im_carrotArmV7Release"}, k = 1, mv = {1, 6, 0}, xi = 48)
public static final class a {
private a() {
}
public a(kotlin.jvm.internal.o oVar) {
this();
}
}
@kotlin.j(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0003J\u0018\u0010\u0004\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\bH\u0016¨\u0006\t"}, d2 = {"Lak/smack/DeleteAllMessagePresence$Provider;", "Lorg/jivesoftware/smack/provider/ExtensionElementProvider;", "Lak/smack/DeleteAllMessagePresence;", "()V", "parse", "parser", "Lorg/xmlpull/v1/XmlPullParser;", "ininPath", "", "ak-im_carrotArmV7Release"}, k = 1, mv = {1, 6, 0}, xi = 48)
public static final class b extends ExtensionElementProvider<l0> {
@Override
@NotNull
public l0 parse(@NotNull XmlPullParser parser, int i) throws Exception {
kotlin.jvm.internal.r.checkNotNullParameter(parser, "parser");
l0 l0Var = new l0();
boolean z = false;
while (!z) {
try {
int next = parser.next();
String name = parser.getName();
if (next == 3 && kotlin.jvm.internal.r.areEqual(name, "x")) {
z = true;
}
} catch (Exception e2) {
Log.w(l0.f4462b, "parse excp");
e2.printStackTrace();
}
}
return l0Var;
}
}
@Override
@NotNull
public String getElementName() {
return "x";
}
@Override
@NotNull
public String getNamespace() {
return "http://akey.im/protocol/xmpp/presence/cleanmessage#cleanallmessageincludemiyun";
}
@Override
@NotNull
public String toXML() {
String str = "<" + getElementName() + " xmlns=\"" + getNamespace() + "\"></" + getElementName() + ">";
kotlin.jvm.internal.r.checkNotNullExpressionValue(str, "buf.toString()");
return str;
}
}