Package org.jxmpp.jid

Interface EntityJid

All Superinterfaces:
CharSequence, Comparable<Jid>, Jid, Serializable
All Known Subinterfaces:
EntityBareJid, EntityFullJid
All Known Implementing Classes:
LocalAndDomainpartJid, LocalDomainAndResourcepartJid

public interface EntityJid extends Jid
An XMPP address (JID) which has a Localpart. Either EntityBareJid or EntityFullJid.

Examples:

See Also:
  • Method Details

    • getLocalpart

      Localpart getLocalpart()
      Return the Localpart of this JID.
      Returns:
      the localpart.
    • asEntityBareJid

      EntityBareJid asEntityBareJid()
      Return the bare JID of this entity JID.
      Returns:
      the bare JID.
    • asEntityBareJidString

      String asEntityBareJidString()
      Return the bare JID string of this full JID.
      Returns:
      the bare JID string.