Package org.jxmpp.jid
Interface EntityJid
-
- All Known Subinterfaces:
EntityBareJid
,EntityFullJid
- All Known Implementing Classes:
LocalAndDomainpartJid
,LocalDomainAndResourcepartJid
public interface EntityJid extends Jid
An XMPP address (JID) which has aLocalpart
. EitherEntityBareJid
orEntityFullJid
.Examples:
localpart@domain.part
localpart@domain.part/resourcepart
- See Also:
Jid
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EntityBareJid
asEntityBareJid()
Return the bare JID of this entity JID.java.lang.String
asEntityBareJidString()
Return the bare JID string of this full JID.Localpart
getLocalpart()
Return theLocalpart
of this JID.-
Methods inherited from interface java.lang.CharSequence
charAt, chars, codePoints, length, subSequence
-
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
-
asEntityBareJid
EntityBareJid asEntityBareJid()
Return the bare JID of this entity JID.- Returns:
- the bare JID.
-
asEntityBareJidString
java.lang.String asEntityBareJidString()
Return the bare JID string of this full JID.- Returns:
- the bare JID string.
-
-