| Package | Description |
|---|---|
| rocks.xmpp.core |
Provides classes for core XMPP functionality.
|
| rocks.xmpp.core.bind.model |
Provides XML schema implementations of the Resource Binding Namespace.
|
| rocks.xmpp.core.roster.model |
Provides XML schema implementations of the Roster Namespace.
|
| rocks.xmpp.core.stanza.model |
Provides XML Stanzas and Stanza Errors.
|
| rocks.xmpp.core.stanza.model.client | |
| rocks.xmpp.core.stanza.model.server | |
| rocks.xmpp.extensions.disco.model.items |
Provides XML schema implementations of XEP-0030: Service Discovery (#items).
|
| rocks.xmpp.extensions.httpbind.model |
Provides XML schema implementations of XEP-0124: Bidirectional-streams Over Synchronous HTTP (BOSH) and XEP-0206: XMPP Over BOSH.
|
| 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.
|
| 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,
Contact.Subscription subscription,
String... groups)
Creates a new contact associated with the given JID, name and groups.
|
Contact(Jid jid,
String name,
List<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 | Field and Description |
|---|---|
protected Jid |
Stanza.from |
protected Jid |
Stanza.to |
| 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 |
StanzaError.setBy(Jid by)
Sets the 'by' attribute.
|
void |
Stanza.setFrom(Jid from)
Sets the stanza's 'from' attribute.
|
void |
Stanza.setTo(Jid to)
Sets the stanza's 'to' attribute.
|
| Constructor and Description |
|---|
AbstractIQ(Jid to,
AbstractIQ.Type type,
Object extension)
Creates an IQ stanza with the given receiver, type and extension.
|
AbstractIQ(Jid to,
String id,
AbstractIQ.Type type,
Object extension)
Creates an IQ stanza with the given receiver, id, type and extension.
|
AbstractMessage(Jid to)
Constructs an empty message.
|
AbstractMessage(Jid to,
AbstractMessage.Type type)
Constructs a message with a type.
|
AbstractMessage(Jid to,
AbstractMessage.Type type,
String body)
Constructs a message with body and type.
|
| 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,
String id,
AbstractIQ.Type type,
Object extension)
Creates an IQ stanza with the given receiver, id, type and extension.
|
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,
String body)
Constructs a message with body and type.
|
| 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,
String id,
AbstractIQ.Type type,
Object extension)
Creates an IQ stanza with the given receiver, id, type and extension.
|
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,
String body)
Constructs a message with body and type.
|
| Modifier and Type | Method and Description |
|---|---|
Jid |
Item.getJid()
Gets the JID.
|
| 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 |
|---|---|
void |
Body.setFrom(Jid from) |
Copyright © 2014 XMPP.rocks. All rights reserved.