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 aLocalpart. EitherEntityBareJidorEntityFullJid.Examples:
localpart@domain.partlocalpart@domain.part/resourcepart
- See Also:
Jid
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EntityBareJidasEntityBareJid()Return the bare JID of this entity JID.StringasEntityBareJidString()Return the bare JID string of this full JID.LocalpartgetLocalpart()Return theLocalpartof this JID.-
Methods inherited from interface java.lang.CharSequence
charAt, chars, codePoints, length, subSequence
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface org.jxmpp.jid.Jid
asBareJid, asDomainBareJid, asDomainFullJidIfPossible, asDomainFullJidOrThrow, asEntityBareJidIfPossible, asEntityBareJidOrThrow, asEntityFullJidIfPossible, asEntityFullJidOrThrow, asEntityJidIfPossible, asEntityJidOrThrow, asFullJidIfPossible, asFullJidOrThrow, asUnescapedString, asUrlEncodedString, downcast, equals, equals, getDomain, getLocalpartOrNull, getLocalpartOrThrow, getResourceOrEmpty, getResourceOrNull, getResourceOrThrow, hasLocalpart, hasNoResource, hasResource, intern, isDomainBareJid, isDomainFullJid, isEntityBareJid, isEntityFullJid, isEntityJid, isParentOf, isParentOf, isParentOf, isParentOf, isParentOf, toString
-
-
-
-
Method Detail
-
getLocalpart
Localpart getLocalpart()
Return theLocalpartof 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.
-
-