Class FeatureNegotiation
- java.lang.Object
-
- rocks.xmpp.extensions.featureneg.model.FeatureNegotiation
-
public final class FeatureNegotiation extends Object
The implementation of the<feature/>
element in thehttp://jabber.org/protocol/feature-neg
namespace.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].
- See Also:
- XEP-0020: Feature Negotiation, XML Schema
-
-
Constructor Summary
Constructors Constructor Description FeatureNegotiation(DataForm dataForm)
Creates a feature negotiation with structured data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataForm
getDataForm()
Gets the data form, which contains feature negotiation details.
-
-
-
Field Detail
-
NAMESPACE
public static final String NAMESPACE
http://jabber.org/protocol/feature-neg- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FeatureNegotiation
public FeatureNegotiation(DataForm dataForm)
Creates a feature negotiation with structured data.- Parameters:
dataForm
- The structured data form, which contains feature negotiation details.
-
-
Method Detail
-
getDataForm
public final DataForm getDataForm()
Gets the data form, which contains feature negotiation details.- Returns:
- The data form.
-
-