| Modifier and Type | Method and Description |
|---|---|
Jid |
Jid.asBareJid()
Converts this JID into a bare JID, i.e. removes the resource.
|
Jid |
JidAdapter.unmarshal(String v) |
static Jid |
Jid.valueOf(String jid)
Creates a JID from a string.
|
static Jid |
Jid.valueOf(String jid,
boolean doUnescape)
Creates a JID from a string.
|
Jid |
Jid.withResource(String resource)
Returns a new full JID with a resource and the same local and domain part of the current JID.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Jid.compareTo(Jid o)
Compares this JID with another JID.
|
String |
JidAdapter.marshal(Jid v) |
| Modifier and Type | Method and Description |
|---|---|
Jid |
Bind.getJid()
Gets the JID, which has been generated by the server after resource binding.
|
| Constructor and Description |
|---|
Bind(Jid jid)
Creates a
<bind/> element with a JID. |
| Modifier and Type | Method and Description |
|---|---|
Jid |
Contact.getJid()
Gets the JID of the contact.
|
| Constructor and Description |
|---|
Contact(Jid jid)
Creates a new contact associated with the given JID.
|
Contact(Jid jid,
String name)
Creates a new contact associated with the given JID and name.
|
Contact(Jid jid,
String name,
Boolean isPending,
Boolean approved,
Contact.Subscription subscription,
Collection<String> groups)
Creates a new contact associated with the given JID, name and groups.
|
Contact(Jid jid,
String name,
Collection<String> groups)
Creates a new contact associated with the given JID, name and groups.
|
Contact(Jid jid,
String name,
String... groups)
Creates a new contact associated with the given JID, name and groups.
|
| Modifier and Type | Method and Description |
|---|---|
Jid |
StanzaError.getBy()
Gets the 'by' attribute.
|
Jid |
Stanza.getFrom()
Gets the stanza's 'from' attribute.
|
Jid |
Stanza.getTo()
Gets the stanza's 'to' attribute.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Stanza.setFrom(Jid from)
Deprecated.
Use constructor.
|
void |
Stanza.setTo(Jid to)
Deprecated.
Use constructor.
|
abstract Stanza |
Stanza.withFrom(Jid from)
Creates a copy of this stanza and adds a from attribute to it.
|
| Constructor and Description |
|---|
StanzaError(StanzaError.Type type,
Condition condition,
String text,
String language,
Object extension,
Jid by)
Creates a stanza error with all possible values.
|
| Modifier and Type | Method and Description |
|---|---|
Presence |
Presence.withFrom(Jid from) |
Message |
Message.withFrom(Jid from) |
IQ |
IQ.withFrom(Jid from) |
| Constructor and Description |
|---|
IQ(Jid to,
AbstractIQ.Type type,
Object extension)
Creates an IQ stanza with the given receiver, type and extension.
|
IQ(Jid to,
AbstractIQ.Type type,
Object extension,
String id)
Creates an IQ stanza with the given receiver, id, type and extension.
|
IQ(Jid to,
AbstractIQ.Type type,
Object extension,
String id,
Jid from,
String language,
StanzaError error)
Creates an IQ stanza with the given receiver, id, type, extension and error.
|
Message(Jid to)
Constructs an empty message.
|
Message(Jid to,
AbstractMessage.Type type)
Constructs a message with a type.
|
Message(Jid to,
AbstractMessage.Type type,
Collection<AbstractMessage.Body> bodies,
Collection<AbstractMessage.Subject> subjects,
String thread,
String parentThread,
String id,
Jid from,
String language,
Collection<?> extensions,
StanzaError error)
Constructs a message with body and type.
|
Message(Jid to,
AbstractMessage.Type type,
String body)
Constructs a message with body and type.
|
Message(Jid to,
AbstractMessage.Type type,
String body,
String subject)
Constructs a message with body and type.
|
Message(Jid to,
AbstractMessage.Type type,
String body,
String subject,
String thread)
Constructs a message with body and type.
|
Message(Jid to,
AbstractMessage.Type type,
String body,
String subject,
String thread,
String parentThread,
String id,
Jid from,
String language,
Collection<?> extensions,
StanzaError error)
Constructs a message with body and type.
|
Presence(Jid to)
Constructs a directed presence.
|
Presence(Jid to,
AbstractPresence.Show show,
String status)
Constructs a directed presence with a specific 'show' attribute and status.
|
Presence(Jid to,
AbstractPresence.Type type,
AbstractPresence.Show show,
Collection<AbstractPresence.Status> status,
Byte priority,
String id,
Jid from,
String language,
Collection<?> extensions,
StanzaError error)
Constructs a presence with all possible values.
|
Presence(Jid to,
AbstractPresence.Type type,
String status)
Constructs a directed presence, which is useful for requesting subscription or for exiting a multi-user chat.
|
Presence(Jid to,
AbstractPresence.Type type,
String status,
String id)
Constructs a directed presence, which is useful for requesting subscription or for exiting a multi-user chat.
|
| Modifier and Type | Method and Description |
|---|---|
Presence |
Presence.withFrom(Jid from) |
Message |
Message.withFrom(Jid from) |
IQ |
IQ.withFrom(Jid from) |
| Constructor and Description |
|---|
IQ(Jid to,
AbstractIQ.Type type,
Object extension)
Creates an IQ stanza with the given receiver, type and extension.
|
IQ(Jid to,
AbstractIQ.Type type,
Object extension,
String id)
Creates an IQ stanza with the given receiver, id, type and extension.
|
IQ(Jid to,
AbstractIQ.Type type,
Object extension,
String id,
Jid from,
String language,
StanzaError error)
Creates an IQ stanza with the given receiver, id, type, extension and error.
|
Message(Jid to)
Constructs an empty message.
|
Message(Jid to,
AbstractMessage.Type type)
Constructs a message with a type.
|
Message(Jid to,
AbstractMessage.Type type,
Collection<AbstractMessage.Body> bodies,
Collection<AbstractMessage.Subject> subjects,
String thread,
String parentThread,
String id,
Jid from,
String language,
Collection<Object> extensions,
StanzaError error)
Constructs a message with body and type.
|
Message(Jid to,
AbstractMessage.Type type,
String body)
Constructs a message with body and type.
|
Message(Jid to,
AbstractMessage.Type type,
String body,
String subject)
Constructs a message with body and type.
|
Message(Jid to,
AbstractMessage.Type type,
String body,
String subject,
String thread)
Constructs a message with body and type.
|
Message(Jid to,
AbstractMessage.Type type,
String body,
String subject,
String thread,
String parentThread,
String id,
Jid from,
String language,
Collection<Object> extensions,
StanzaError error)
Constructs a message with body and type.
|
Presence(Jid to)
Constructs a directed presence.
|
Presence(Jid to,
AbstractPresence.Show show,
String status)
Constructs a directed presence with a specific 'show' attribute and status.
|
Presence(Jid to,
AbstractPresence.Type type,
AbstractPresence.Show show,
Collection<AbstractPresence.Status> status,
Byte priority,
String id,
Jid from,
String language,
Collection<?> extensions,
StanzaError error)
Constructs a presence with all possible values.
|
Presence(Jid to,
AbstractPresence.Type type,
String status)
Constructs a directed presence, which is useful for requesting subscription or for exiting a multi-user chat.
|
Presence(Jid to,
AbstractPresence.Type type,
String status,
String id)
Constructs a directed presence, which is useful for requesting subscription or for exiting a multi-user chat.
|
| Modifier and Type | Method and Description |
|---|---|
Jid |
Address.getJid()
Gets the JID.
|
| Constructor and Description |
|---|
Address(Address.Type type,
Jid jid) |
Address(Address.Type type,
Jid jid,
String description) |
Address(Address.Type type,
Jid jid,
String description,
String node) |
| Modifier and Type | Method and Description |
|---|---|
Jid |
AdvancedMessageProcessing.getFrom()
The 'from' attribute specifies the original sender of the containing
<message/> stanza. |
Jid |
AdvancedMessageProcessing.getTo()
The 'to' attribute specifies the original (intended) recipient of the containing
<message/> stanza. |
| Constructor and Description |
|---|
AdvancedMessageProcessing(List<Rule> rules,
Rule.Action status,
Jid from,
Jid to)
Constructs an
<amp/> element with rules, status, from and to attribute. |
| Modifier and Type | Method and Description |
|---|---|
List<Jid> |
Unblock.getItems()
Gets the unblocked items.
|
List<Jid> |
BlockList.getItems()
Gets the items.
|
List<Jid> |
Block.getItems()
Gets the blocked items.
|
| Constructor and Description |
|---|
Block(List<Jid> blockedItems) |
BlockList(List<Jid> blockedItems)
Creates a block list with items.
|
Unblock(List<Jid> unblockedItems) |
| Modifier and Type | Method and Description |
|---|---|
Jid |
ChatRoomBookmark.getRoom()
Gets the JID of the chat room.
|
| Constructor and Description |
|---|
ChatRoomBookmark(String name,
Jid room)
Creates a conference bookmark.
|
ChatRoomBookmark(String name,
Jid room,
String nick,
String password,
boolean autojoin)
Creates a conference bookmark.
|
| Modifier and Type | Method and Description |
|---|---|
Jid |
StreamHost.getJid()
Gets the JabberID of the StreamHost for communication over XMPP.
|
Jid |
Socks5ByteStream.getStreamHostUsed()
Gets the used stream host.
|
| Modifier and Type | Method and Description |
|---|---|
static Socks5ByteStream |
Socks5ByteStream.activate(String sessionId,
Jid jid)
Creates a
<query/> element with an <activate/> child element. |
static String |
Socks5ByteStream.hash(String sessionId,
Jid requesterJid,
Jid targetJid)
Creates the hexadecimal-encoded SHA-1 hash for usage in SOCKS5 negotiation.
|
static Socks5ByteStream |
Socks5ByteStream.streamHostUsed(Jid jid)
Creates a
<query/> element with an <streamhost-used/> child element. |
| Constructor and Description |
|---|
StreamHost(Jid jid,
String host,
int port)
Creates a
<streamhost/> element. |
| Modifier and Type | Method and Description |
|---|---|
Jid |
DataForm.findValueAsJid(String var)
Finds the field and gets the value as JID.
|
Jid |
DataForm.Field.getValueAsJid()
Returns the first value as JID, e.g. for the
DataForm.Field.Type.JID_SINGLE field type. |
| Modifier and Type | Method and Description |
|---|---|
List<Jid> |
DataForm.findValuesAsJid(String var)
Finds the field and gets its values as JID list.
|
List<Jid> |
DataForm.Field.getValuesAsJid()
Returns a JID list for the
DataForm.Field.Type.JID_MULTI field type. |
| Modifier and Type | Method and Description |
|---|---|
DataForm.Field.Builder |
DataForm.Field.Builder.value(Jid value)
Sets the value as JID.
|
| Modifier and Type | Method and Description |
|---|---|
DataForm.Field.Builder |
DataForm.Field.Builder.valuesJid(Collection<Jid> values)
Sets the values as JIDs.
|
| Modifier and Type | Method and Description |
|---|---|
Jid |
DelayedDelivery.getFrom()
Gets the Jabber ID of the entity that originally sent the XML stanza or that delayed the delivery of the stanza (e.g., the address of a multi-user chat room).
|
| Constructor and Description |
|---|
DelayedDelivery(Date timestamp,
Jid from,
String reason)
Creates a delayed delivery element with all attributes.
|
| Modifier and Type | Method and Description |
|---|---|
Jid |
Item.getJid()
Gets the JID.
|
| Constructor and Description |
|---|
Item(Jid jid,
String node) |
Item(Jid jid,
String node,
String name) |
Item(Jid jid,
String node,
String name,
String id) |
| Modifier and Type | Method and Description |
|---|---|
Jid |
Body.getFrom()
The
<body/> element of the first request MAY also possess a 'from' attribute, which specifies the originator of the first stream and which enables the connection manager to forward the originating entity's identity to the application server. |
| Modifier and Type | Method and Description |
|---|---|
Body.Builder |
Body.Builder.from(Jid from)
Sets the 'from' attribute of the body.
|
| Modifier and Type | Method and Description |
|---|---|
Jid |
Jingle.getInitiator()
Gets the initiator.
|
Jid |
Jingle.getResponder()
Gets the responder.
|
| Modifier and Type | Method and Description |
|---|---|
static Jingle |
Jingle.initiator(Jid initiator,
String sessionId,
Jingle.Action action,
List<Jingle.Content> contents) |
static Jingle |
Jingle.responder(Jid responder,
String sessionId,
Jingle.Action action,
List<Jingle.Content> contents) |
| Modifier and Type | Method and Description |
|---|---|
Jid |
S5bTransportMethod.Candidate.getJid() |
| Constructor and Description |
|---|
S5bTransportMethod.Candidate(String cid,
String host,
Jid jid,
int localPriority) |
S5bTransportMethod.Candidate(String cid,
String host,
Jid jid,
int localPriority,
S5bTransportMethod.Candidate.Type type,
int port) |
| Modifier and Type | Method and Description |
|---|---|
Jid |
DirectInvitation.getRoomAddress()
Gets the address of the groupchat room to be joined.
|
| Constructor and Description |
|---|
DirectInvitation(Jid jid) |
DirectInvitation(Jid jid,
String password,
String reason) |
DirectInvitation(Jid jid,
String password,
String reason,
boolean isContinue,
String thread) |
| Modifier and Type | Method and Description |
|---|---|
Jid |
RequestVoice.getJid()
Gets the JID.
|
Jid |
Item.getJid()
Gets the JID.
|
Jid |
Destroy.getJid()
The optional address of an alternate venue.
|
Jid |
Actor.getJid()
Gets the JID.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Jid> |
RoomConfiguration.getAdministrators()
Gets the administrators.
|
List<Jid> |
RoomInfo.getContacts()
Gets the contact addresses (normally room owners).
|
Collection<Jid> |
RoomConfiguration.getOwners()
Gets the owners.
|
| Modifier and Type | Method and Description |
|---|---|
RequestVoice.Builder |
RequestVoice.Builder.jid(Jid jid)
Sets the JID.
|
| Modifier and Type | Method and Description |
|---|---|
RoomConfiguration.Builder |
RoomConfiguration.Builder.administrators(Collection<Jid> admins)
Full list of room admins.
|
RoomInfo.Builder |
RoomInfo.Builder.contacts(Collection<Jid> contacts)
Gets the contact addresses (normally, room owner or owners).
|
RoomConfiguration.Builder |
RoomConfiguration.Builder.owners(Collection<Jid> owners)
Full list of room owners.
|
| Modifier and Type | Method and Description |
|---|---|
static Item |
MucAdmin.createItem(Affiliation affiliation,
Jid jid)
Creates an item, which can be used as input parameter for
MucAdmin.withItems(rocks.xmpp.extensions.muc.model.Item...). |
static Item |
MucAdmin.createItem(Affiliation affiliation,
Jid jid,
String reason)
Creates an item, which can be used as input parameter for
MucAdmin.withItems(rocks.xmpp.extensions.muc.model.Item...). |
static Item |
MucAdmin.createItem(Affiliation affiliation,
Jid jid,
String nick,
String reason)
Creates an item, which can be used as input parameter for
MucAdmin.withItems(rocks.xmpp.extensions.muc.model.Item...). |
static Item |
MucAdmin.createItem(Affiliation affiliation,
Role role,
Jid jid,
String nick,
Actor actor,
String reason)
Creates an item, which can be used as input parameter for
MucAdmin.withItems(rocks.xmpp.extensions.muc.model.Item...). |
static MucAdmin |
MucAdmin.withItem(Affiliation affiliation,
Jid jid,
String reason)
Creates a
<query/> element with an <item/> child element. |
| Modifier and Type | Method and Description |
|---|---|
static MucOwner |
MucOwner.withDestroy(Jid jid,
String reason)
Creates a
<query/> element with a <destroy/> child element. |
| Modifier and Type | Method and Description |
|---|---|
Jid |
Invite.getFrom()
Gets the inviter.
|
Jid |
Decline.getFrom()
Gets the invitee, who declined the invitation.
|
Jid |
Invite.getTo()
Gets the invitee.
|
Jid |
Decline.getTo()
Gets the inviter, who sent the invitation.
|
| Modifier and Type | Method and Description |
|---|---|
static MucUser |
MucUser.withDecline(Jid to,
String reason)
Creates a
<x/> element with a <decline/> child element. |
static MucUser |
MucUser.withDestroy(Affiliation affiliation,
Role role,
Jid jid,
String reason)
Creates a
<x/> element with an <item/> and a <destroy/> child element. |
static MucUser |
MucUser.withItem(Affiliation affiliation,
Role role,
Jid jid,
Status... status)
Creates a
<x/> element with an <item/> and a <status/> child element. |
static MucUser |
MucUser.withItem(Affiliation affiliation,
Role role,
Jid jid,
String nick,
Actor actor,
String reason,
Status... status)
Creates a
<x/> element with an <item/> and a <status/> child element. |
static MucUser |
MucUser.withItem(Affiliation affiliation,
Role role,
Jid jid,
String nick,
Status... status)
Creates a
<x/> element with an <item/> and a <status/> child element. |
| Constructor and Description |
|---|
Decline(Jid to,
String reason)
Creates a 'decline' element with a reason.
|
Invite(Jid to)
Creates an 'invite' element.
|
Invite(Jid to,
String reason)
Creates an invite element with a reason.
|
Invite(Jid to,
String reason,
Continue aContinue)
Creates an 'invite' element with a reason and a 'continue' element.
|
| Modifier and Type | Method and Description |
|---|---|
Jid |
OfflineMessageHeader.getSender()
Gets the sender of the offline message.
|
| Constructor and Description |
|---|
OfflineMessageHeader(Jid sender,
String id) |
| Modifier and Type | Method and Description |
|---|---|
static PrivacyList |
PrivacyList.createInvisibilityListExceptForUsers(String listName,
Jid... jids)
Creates a global invisibility list, where you are still visible to some contacts.
|
static PrivacyList |
PrivacyList.createInvisibilityListForUsers(String listName,
Jid... jids)
Creates a selective invisibility list.
|
| Constructor and Description |
|---|
PrivacyRule(PrivacyRule.Action action,
long order,
Jid jid)
Creates a privacy rule of type 'jid'.
|
| Modifier and Type | Method and Description |
|---|---|
Jid |
Annotation.Note.getJid()
Gets the JID of the contact (roster item).
|
| Constructor and Description |
|---|
Annotation.Note(String note,
Jid jid)
Creates a roster note.
|
Annotation.Note(String note,
Jid jid,
Date creationDate,
Date modificationDate)
Creates a roster note.
|
| Modifier and Type | Method and Description |
|---|---|
Jid |
NodeMetaData.getCreator()
Gets the creator.
|
Jid |
Subscription.getJid() |
Jid |
Affiliation.getJid()
Gets the JID.
|
| Modifier and Type | Method and Description |
|---|---|
List<Jid> |
NodeConfiguration.getChildrenAssociationWhitelist()
The list of JIDs that may associate leaf nodes with a collection.
|
List<Jid> |
NodeMetaData.getContacts()
Gets the contacts.
|
List<Jid> |
NodeConfiguration.getContacts()
The JIDs of those to contact with questions.
|
List<Jid> |
NodeMetaData.getOwners()
Gets the owners.
|
List<Jid> |
NodeMetaData.getPublishers()
Gets the publishers.
|
| Modifier and Type | Method and Description |
|---|---|
NodeMetaData.Builder |
NodeMetaData.Builder.creator(Jid creator)
The JID of the node creator.
|
static PubSub |
PubSub.withOptions(String node,
Jid jid,
String subid,
DataForm dataForm)
Creates a pubsub element with an
<options/> child element with a 'node' and 'jid' attribute. |
static PubSub |
PubSub.withSubscribe(String node,
Jid jid)
Creates a pubsub element with a
<subscribe/> child element with a 'node' and 'jid' attribute. |
static PubSub |
PubSub.withSubscribe(String node,
Jid jid,
DataForm dataForm)
Creates a pubsub element with a
<subscribe/> and <options/> child element with a 'node' and 'jid' attribute. |
static PubSub |
PubSub.withUnsubscribe(String node,
Jid jid,
String subscriptionId)
Creates a pubsub element with an
<unsubscribe/> child element with a 'node' and 'jid' attribute. |
| Modifier and Type | Method and Description |
|---|---|
NodeConfiguration.Builder |
NodeConfiguration.Builder.childrenAssociationWhitelist(Collection<Jid> childrenAssociationWhitelist)
The list of JIDs that may associate leaf nodes with a collection.
|
NodeMetaData.Builder |
NodeMetaData.Builder.contacts(Collection<Jid> contacts)
The JIDs of those to contact with questions.
|
NodeConfiguration.Builder |
NodeConfiguration.Builder.contacts(Collection<Jid> contacts)
The JIDs of those to contact with questions
|
NodeMetaData.Builder |
NodeMetaData.Builder.owners(Collection<Jid> owners)
The JIDs of those with an affiliation of owner.
|
NodeMetaData.Builder |
NodeMetaData.Builder.publishers(Collection<Jid> publishers)
The JIDs of those with an affiliation of publisher.
|
| Modifier and Type | Method and Description |
|---|---|
Jid |
ContactExchange.Item.getJid()
Gets the JID.
|
| Constructor and Description |
|---|
ContactExchange.Item(Jid jid,
String name,
Collection<String> groups,
ContactExchange.Item.Action action) |
| Modifier and Type | Method and Description |
|---|---|
Jid |
Search.Item.getJid()
Gets the JID.
|
| Constructor and Description |
|---|
Search.Item(Jid jid,
String first,
String last,
String nick,
String email) |
| Modifier and Type | Method and Description |
|---|---|
Jid |
VCard.getJid()
Gets the JID.
|
| Modifier and Type | Method and Description |
|---|---|
void |
VCard.setJid(Jid jid)
Sets the JID.
|
Copyright © 2014–2015 XMPP.rocks. All rights reserved.