public final class FeatureNegotiation extends Object
<feature/> element in the http://jabber.org/protocol/feature-neg namespace.
This class is immutable.The protocol defined herein enables Jabber entities to negotiate options for specific features. These features could be negotiated between any two endpoints on the Jabber network, such as two clients, a client and a component, two components, a client and a server, or two servers. The protocol is generic enough that it can be used whenever options need to be negotiated between two Jabber entities. For examples, Stream Initiation (XEP-0095) [2], SI File Transfer (XEP-0096) [3] or Stanza Session Negotiation (XEP-0155) [4].
| Modifier and Type | Field and Description |
|---|---|
static String |
NAMESPACE
http://jabber.org/protocol/feature-neg
|
| Constructor and Description |
|---|
FeatureNegotiation(DataForm dataForm)
Creates a feature negotiation with structured data.
|
| Modifier and Type | Method and Description |
|---|---|
DataForm |
getDataForm()
Gets the data form, which contains feature negotiation details.
|
public static final String NAMESPACE
public FeatureNegotiation(DataForm dataForm)
dataForm - The structured data form, which contains feature negotiation details.public final DataForm getDataForm()
Copyright © 2014–2016 XMPP.rocks. All rights reserved.