Class XDataManager

java.lang.Object
org.jivesoftware.smack.Manager
org.jivesoftware.smackx.xdata.XDataManager

public final class XDataManager extends org.jivesoftware.smack.Manager
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The value of DataForm.NAMESPACE.
  • Method Summary

    Modifier and Type
    Method
    Description
    getInstanceFor(org.jivesoftware.smack.XMPPConnection connection)
    Get the XDataManager for the given XMPP connection.
    boolean
    isSupported(org.jxmpp.jid.Jid jid)
    Check if the given entity supports data forms.

    Methods inherited from class org.jivesoftware.smack.Manager

    connection, getAuthenticatedConnectionOrThrow, schedule, schedule, scheduleBlocking

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • getInstanceFor

      public static XDataManager getInstanceFor(org.jivesoftware.smack.XMPPConnection connection)
      Get the XDataManager for the given XMPP connection.
      Parameters:
      connection - the XMPPConnection.
      Returns:
      the XDataManager
    • isSupported

      public boolean isSupported(org.jxmpp.jid.Jid jid) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, InterruptedException
      Check if the given entity supports data forms.
      Parameters:
      jid - the JID of the entity to check.
      Returns:
      true if the entity supports data forms.
      Throws:
      org.jivesoftware.smack.SmackException.NoResponseException - if there was no response from the remote entity.
      org.jivesoftware.smack.XMPPException.XMPPErrorException - if there was an XMPP error returned.
      org.jivesoftware.smack.SmackException.NotConnectedException - if the XMPP connection is not connected.
      InterruptedException - if the calling thread was interrupted.
      Since:
      4.1
      See Also: