/*
 * Decompiled with CFR 0.152.
 */
package org.jxmpp.jid;

import org.jxmpp.jid.BareJid;
import org.jxmpp.jid.DomainBareJid;
import org.jxmpp.jid.DomainFullJid;
import org.jxmpp.jid.FullJid;
import org.jxmpp.jid.JidWithLocalpart;
import org.jxmpp.jid.JidWithResource;
import org.jxmpp.jid.parts.Domainpart;
import org.jxmpp.jid.parts.Localpart;
import org.jxmpp.jid.parts.Resourcepart;

public interface Jid
extends Comparable<Jid>,
CharSequence {
    public Domainpart getDomain();

    public Localpart maybeGetLocalpart();

    public Resourcepart maybeGetResourcepart();

    @Override
    public String toString();

    public String asUnescapedString();

    public boolean isBareOrFullJid();

    public boolean isBareJid();

    public boolean isFullJid();

    public boolean isDomainBareJid();

    public boolean isDomainFullJid();

    public boolean hasNoResource();

    public boolean hasResource();

    public boolean hasLocalpart();

    public BareJid asBareJidIfPossible();

    public FullJid asFullJidIfPossible();

    public JidWithLocalpart asJidWithLocalpartIfPossible();

    public JidWithResource asJidWithResourcepartIfPossible();

    @Deprecated
    public DomainBareJid asDomainBareJidIfPossible();

    public DomainBareJid asDomainBareJid();

    public String asDomainBareJidString();

    public DomainFullJid asDomainFullJidIfPossible();

    public Resourcepart getResourceOrNull();

    public Localpart getLocalpartOrNull();

    public Jid withoutResource();

    public boolean isParentOf(Jid var1);

    public boolean isParentOf(BareJid var1);

    public boolean isParentOf(FullJid var1);

    public boolean isParentOf(DomainBareJid var1);

    public boolean isParentOf(DomainFullJid var1);

    public <T extends Jid> T downcast();

    public boolean equals(CharSequence var1);

    public boolean equals(String var1);
}
