public class XDataManager extends Manager
Modifier and Type | Field and Description |
---|---|
static String |
NAMESPACE
The value of
DataForm.NAMESPACE . |
Modifier and Type | Method and Description |
---|---|
static XDataManager |
getInstanceFor(XMPPConnection connection)
Get the XDataManager for the given XMPP connection.
|
boolean |
isSupported(String jid)
Check if the given entity supports data forms.
|
connection
public static final String NAMESPACE
DataForm.NAMESPACE
.public static XDataManager getInstanceFor(XMPPConnection connection)
connection
- public boolean isSupported(String jid) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException
jid
- the JID of the entity to check.SmackException.NoResponseException
XMPPException.XMPPErrorException
SmackException.NotConnectedException