static PubSub |
PubSub.withAffiliations() |
Creates a pubsub element with an <affiliations/> child element.
|
static PubSub |
PubSub.withAffiliations(String node) |
Creates a pubsub element with an <affiliations/> child element and a 'node' attribute.
|
static PubSub |
PubSub.withConfigure(String node,
DataForm configurationForm) |
Creates a pubsub element with an <configure/> child element and a 'node' attribute.
|
static PubSub |
PubSub.withCreate(String node) |
Creates a pubsub element with an <create/> child element and a 'node' attribute.
|
static PubSub |
PubSub.withCreate(String node,
DataForm configurationForm) |
Creates a pubsub element with an <create/> and <configure/> child element.
|
static PubSub |
PubSub.withDefault() |
Creates a pubsub element with a <default/> child element.
|
static PubSub |
PubSub.withDefault(String node) |
Creates a pubsub element with a <default/> child element with a 'node' attribute.
|
static PubSub |
PubSub.withItems(String node) |
Creates a pubsub element with an <items/> child element with a 'node' attribute.
|
static PubSub |
PubSub.withItems(String node,
int maxItems) |
Creates a pubsub element with an <items/> child element with a 'node' and a 'max_items' attribute.
|
static PubSub |
PubSub.withItems(String node,
String... ids) |
Creates a pubsub element with an <items/> child element, containing multiple item elements with an 'id'
attribute.
|
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.withPublish(String node,
String id,
Object item,
DataForm options) |
Creates a pubsub element with a <publish/> child element.
|
static PubSub |
PubSub.withRetract(String node,
String id,
boolean notify) |
Creates a pubsub element with a <retract/> child element.
|
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.withSubscriptions() |
Creates a pubsub element with a <subscriptions/> child element.
|
static PubSub |
PubSub.withSubscriptions(String node) |
Creates a pubsub element with a <subscriptions/> child element with a 'node' 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.
|