mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 09:09:38 +02:00
Enable trailing whitespace checkstyle check
for all source code regions, including javadoc.
This commit is contained in:
parent
9d61a6de7d
commit
e8923b9d16
545 changed files with 3713 additions and 3715 deletions
|
@ -20,7 +20,7 @@ import org.jivesoftware.smack.initializer.UrlInitializer;
|
|||
|
||||
/**
|
||||
* Initializes the providers in the experimental code stream.
|
||||
*
|
||||
*
|
||||
* @author Florian Schmaus
|
||||
*/
|
||||
public class ExperimentalInitializer extends UrlInitializer {
|
||||
|
|
|
@ -85,7 +85,7 @@ public final class CarbonManager extends Manager {
|
|||
});
|
||||
}
|
||||
|
||||
private static final StanzaFilter CARBON_EXTENSION_FILTER =
|
||||
private static final StanzaFilter CARBON_EXTENSION_FILTER =
|
||||
// @formatter:off
|
||||
new AndFilter(
|
||||
new OrFilter(
|
||||
|
@ -221,12 +221,12 @@ public final class CarbonManager extends Manager {
|
|||
|
||||
/**
|
||||
* Returns true if XMPP Carbons are supported by the server.
|
||||
*
|
||||
*
|
||||
* @return true if supported
|
||||
* @throws NotConnectedException
|
||||
* @throws XMPPErrorException
|
||||
* @throws NoResponseException
|
||||
* @throws InterruptedException
|
||||
* @throws NotConnectedException
|
||||
* @throws XMPPErrorException
|
||||
* @throws NoResponseException
|
||||
* @throws InterruptedException
|
||||
*/
|
||||
public boolean isSupportedByServer() throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
|
||||
return ServiceDiscoveryManager.getInstanceFor(connection()).serverSupportsFeature(CarbonExtension.NAMESPACE);
|
||||
|
@ -239,7 +239,7 @@ public final class CarbonManager extends Manager {
|
|||
* You should first check for support using isSupportedByServer().
|
||||
*
|
||||
* @param new_state whether carbons should be enabled or disabled
|
||||
* @throws NotConnectedException
|
||||
* @throws NotConnectedException
|
||||
* @throws InterruptedException
|
||||
* @deprecated use {@link #enableCarbonsAsync(ExceptionCallback)} or {@link #disableCarbonsAsync(ExceptionCallback)} instead.
|
||||
*/
|
||||
|
@ -256,7 +256,7 @@ public final class CarbonManager extends Manager {
|
|||
* because of a slow network connection). Thus, if the thread performing this operation is interrupted while the
|
||||
* queue is full, an {@link InterruptedException} is thrown.
|
||||
* </p>
|
||||
*
|
||||
*
|
||||
* @param exceptionCallback the optional exception callback.
|
||||
* @since 4.2
|
||||
*/
|
||||
|
@ -272,7 +272,7 @@ public final class CarbonManager extends Manager {
|
|||
* because of a slow network connection). Thus, if the thread performing this operation is interrupted while the
|
||||
* queue is full, an {@link InterruptedException} is thrown.
|
||||
* </p>
|
||||
*
|
||||
*
|
||||
* @param exceptionCallback the optional exception callback.
|
||||
* @since 4.2
|
||||
*/
|
||||
|
@ -302,10 +302,10 @@ public final class CarbonManager extends Manager {
|
|||
* You should first check for support using isSupportedByServer().
|
||||
*
|
||||
* @param new_state whether carbons should be enabled or disabled
|
||||
* @throws XMPPErrorException
|
||||
* @throws NoResponseException
|
||||
* @throws NotConnectedException
|
||||
* @throws InterruptedException
|
||||
* @throws XMPPErrorException
|
||||
* @throws NoResponseException
|
||||
* @throws NotConnectedException
|
||||
* @throws InterruptedException
|
||||
*
|
||||
*/
|
||||
public synchronized void setCarbonsEnabled(final boolean new_state) throws NoResponseException,
|
||||
|
@ -322,9 +322,9 @@ public final class CarbonManager extends Manager {
|
|||
/**
|
||||
* Helper method to enable carbons.
|
||||
*
|
||||
* @throws XMPPException
|
||||
* @throws XMPPException
|
||||
* @throws SmackException if there was no response from the server.
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException
|
||||
*/
|
||||
public void enableCarbons() throws XMPPException, SmackException, InterruptedException {
|
||||
setCarbonsEnabled(true);
|
||||
|
@ -333,9 +333,9 @@ public final class CarbonManager extends Manager {
|
|||
/**
|
||||
* Helper method to disable carbons.
|
||||
*
|
||||
* @throws XMPPException
|
||||
* @throws XMPPException
|
||||
* @throws SmackException if there was no response from the server.
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException
|
||||
*/
|
||||
public void disableCarbons() throws XMPPException, SmackException, InterruptedException {
|
||||
setCarbonsEnabled(false);
|
||||
|
|
|
@ -26,7 +26,7 @@ import org.jivesoftware.smackx.forward.packet.Forwarded;
|
|||
* Stanza extension for XEP-0280: Message Carbons. The extension
|
||||
* <a href="http://xmpp.org/extensions/xep-0280.html">XEP-0280</a> is
|
||||
* meant to synchronize a message flow to multiple presences of a user.
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* It accomplishes this by wrapping a {@link Forwarded} stanza in a <b>sent</b>
|
||||
* or <b>received</b> element
|
||||
|
@ -41,7 +41,7 @@ public class CarbonExtension implements ExtensionElement {
|
|||
|
||||
/**
|
||||
* Construct a Carbon message extension.
|
||||
*
|
||||
*
|
||||
* @param dir Determines if the carbon is being sent/received
|
||||
* @param fwd The forwarded message.
|
||||
*/
|
||||
|
@ -130,7 +130,7 @@ public class CarbonExtension implements ExtensionElement {
|
|||
|
||||
/**
|
||||
* Stanza extension indicating that a message may not be carbon-copied. Adding this
|
||||
* extension to any message will disallow that message from being copied.
|
||||
* extension to any message will disallow that message from being copied.
|
||||
*/
|
||||
public static final class Private implements ExtensionElement {
|
||||
public static final Private INSTANCE = new Private();
|
||||
|
@ -157,7 +157,7 @@ public class CarbonExtension implements ExtensionElement {
|
|||
/**
|
||||
* Marks a message "private", so that it will not be carbon-copied, by adding private packet
|
||||
* extension to the message.
|
||||
*
|
||||
*
|
||||
* @param message the message to add the private extension to
|
||||
*/
|
||||
public static void addTo(Message message) {
|
||||
|
|
|
@ -29,7 +29,7 @@ import org.xmlpull.v1.XmlPullParser;
|
|||
/**
|
||||
* This class implements the {@link ExtensionElementProvider} to parse
|
||||
* carbon copied messages from a packet. It will return a {@link CarbonExtension} stanza extension.
|
||||
*
|
||||
*
|
||||
* @author Georg Lukas
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -32,11 +32,11 @@ import org.jivesoftware.smackx.disco.ServiceDiscoveryManager;
|
|||
|
||||
/**
|
||||
* Chat Markers Manager class (XEP-0333).
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0333.html">XEP-0333: Chat
|
||||
* Markers</a>
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*
|
||||
*/
|
||||
public final class ChatMarkersManager extends Manager {
|
||||
|
||||
|
@ -53,7 +53,7 @@ public final class ChatMarkersManager extends Manager {
|
|||
|
||||
/**
|
||||
* Get the singleton instance of ChatMarkersManager.
|
||||
*
|
||||
*
|
||||
* @param connection
|
||||
* @return the instance of ChatMarkersManager
|
||||
*/
|
||||
|
@ -74,7 +74,7 @@ public final class ChatMarkersManager extends Manager {
|
|||
|
||||
/**
|
||||
* Returns true if Chat Markers is supported by the server.
|
||||
*
|
||||
*
|
||||
* @return true if Chat Markers is supported by the server.
|
||||
* @throws NotConnectedException
|
||||
* @throws XMPPErrorException
|
||||
|
|
|
@ -22,11 +22,11 @@ import org.jivesoftware.smack.util.XmlStringBuilder;
|
|||
|
||||
/**
|
||||
* Chat Markers elements (XEP-0333).
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0333.html">XEP-0333: Chat
|
||||
* Markers</a>
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*
|
||||
*/
|
||||
public class ChatMarkersElements {
|
||||
|
||||
|
@ -34,7 +34,7 @@ public class ChatMarkersElements {
|
|||
|
||||
/**
|
||||
* Markable extension class.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0333.html">XEP-0333: Chat
|
||||
* Markers</a>
|
||||
* @author Fernando Ramirez
|
||||
|
@ -74,7 +74,7 @@ public class ChatMarkersElements {
|
|||
|
||||
/**
|
||||
* Received extension class.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0333.html">XEP-0333: Chat
|
||||
* Markers</a>
|
||||
* @author Fernando Ramirez
|
||||
|
@ -95,7 +95,7 @@ public class ChatMarkersElements {
|
|||
|
||||
/**
|
||||
* Get the id.
|
||||
*
|
||||
*
|
||||
* @return the id
|
||||
*/
|
||||
public String getId() {
|
||||
|
@ -127,7 +127,7 @@ public class ChatMarkersElements {
|
|||
|
||||
/**
|
||||
* Displayed extension class.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0333.html">XEP-0333: Chat
|
||||
* Markers</a>
|
||||
* @author Fernando Ramirez
|
||||
|
@ -148,7 +148,7 @@ public class ChatMarkersElements {
|
|||
|
||||
/**
|
||||
* Get the id.
|
||||
*
|
||||
*
|
||||
* @return the id
|
||||
*/
|
||||
public String getId() {
|
||||
|
@ -180,7 +180,7 @@ public class ChatMarkersElements {
|
|||
|
||||
/**
|
||||
* Acknowledged extension class.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0333.html">XEP-0333: Chat
|
||||
* Markers</a>
|
||||
* @author Fernando Ramirez
|
||||
|
@ -201,7 +201,7 @@ public class ChatMarkersElements {
|
|||
|
||||
/**
|
||||
* Get the id.
|
||||
*
|
||||
*
|
||||
* @return the id
|
||||
*/
|
||||
public String getId() {
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
*/
|
||||
/**
|
||||
* Chat Markers elements (XEP-0333).
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0333.html">XEP-0333: Chat
|
||||
* Markers</a>
|
||||
*
|
||||
*
|
||||
*/
|
||||
package org.jivesoftware.smackx.chat_markers.element;
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
*/
|
||||
/**
|
||||
* XEP-0333: Chat Markers.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0333.html">XEP-0333: Chat
|
||||
* Markers</a>
|
||||
*
|
||||
*
|
||||
*/
|
||||
package org.jivesoftware.smackx.chat_markers;
|
||||
|
|
|
@ -24,11 +24,11 @@ import org.xmlpull.v1.XmlPullParser;
|
|||
|
||||
/**
|
||||
* Acknowledged extension provider class (XEP-0333).
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0333.html">XEP-0333: Chat
|
||||
* Markers</a>
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*
|
||||
*/
|
||||
public class AcknowledgedProvider extends ExtensionElementProvider<AcknowledgedExtension> {
|
||||
|
||||
|
|
|
@ -24,11 +24,11 @@ import org.xmlpull.v1.XmlPullParser;
|
|||
|
||||
/**
|
||||
* Displayed extension provider class (XEP-0333).
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0333.html">XEP-0333: Chat
|
||||
* Markers</a>
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*
|
||||
*/
|
||||
public class DisplayedProvider extends ExtensionElementProvider<DisplayedExtension> {
|
||||
|
||||
|
|
|
@ -24,11 +24,11 @@ import org.xmlpull.v1.XmlPullParser;
|
|||
|
||||
/**
|
||||
* Markable extension provider class (XEP-0333).
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0333.html">XEP-0333: Chat
|
||||
* Markers</a>
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*
|
||||
*/
|
||||
public class MarkableProvider extends ExtensionElementProvider<MarkableExtension> {
|
||||
|
||||
|
|
|
@ -24,11 +24,11 @@ import org.xmlpull.v1.XmlPullParser;
|
|||
|
||||
/**
|
||||
* Received extension provider class (XEP-0333).
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0333.html">XEP-0333: Chat
|
||||
* Markers</a>
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*
|
||||
*/
|
||||
public class ReceivedProvider extends ExtensionElementProvider<ReceivedExtension> {
|
||||
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
*/
|
||||
/**
|
||||
* Chat Markers providers (XEP-0333).
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0333.html">XEP-0333: Chat
|
||||
* Markers</a>
|
||||
*
|
||||
*
|
||||
*/
|
||||
package org.jivesoftware.smackx.chat_markers.provider;
|
||||
|
|
|
@ -19,7 +19,7 @@ package org.jivesoftware.smackx.hints.element;
|
|||
import org.jivesoftware.smack.packet.Message;
|
||||
|
||||
/**
|
||||
* A "no copy" hint. Messages with this hint should not be copied to addresses other than the one to which it is addressed.
|
||||
* A "no copy" hint. Messages with this hint should not be copied to addresses other than the one to which it is addressed.
|
||||
*
|
||||
* @see <a href="https://xmpp.org/extensions/xep-0334.html#no-copy">XEP-0344 § 4.3 No copies</a>
|
||||
*/
|
||||
|
|
|
@ -59,7 +59,7 @@ public class HOXTManager {
|
|||
* @throws XMPPErrorException
|
||||
* @throws NoResponseException
|
||||
* @throws NotConnectedException
|
||||
* @throws InterruptedException
|
||||
* @throws InterruptedException
|
||||
*/
|
||||
public static boolean isSupported(Jid jid, XMPPConnection connection) throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
|
||||
return ServiceDiscoveryManager.getInstanceFor(connection).supportsFeature(jid, NAMESPACE);
|
||||
|
|
|
@ -120,7 +120,7 @@ public abstract class AbstractHttpOverXmpp extends IQ {
|
|||
* Sets Headers element.
|
||||
*
|
||||
* @param headers Headers element
|
||||
*
|
||||
*
|
||||
* @return the builder
|
||||
*/
|
||||
public B setHeaders(HeadersExtension headers) {
|
||||
|
|
|
@ -153,7 +153,7 @@ public final class HttpOverXmppReq extends AbstractHttpOverXmpp {
|
|||
* Sets resource attribute.
|
||||
*
|
||||
* @param resource attribute
|
||||
*
|
||||
*
|
||||
* @return the builder
|
||||
*/
|
||||
public Builder setResource(String resource) {
|
||||
|
@ -165,7 +165,7 @@ public final class HttpOverXmppReq extends AbstractHttpOverXmpp {
|
|||
* Sets jingle attribute.
|
||||
*
|
||||
* @param jingle jingle attribute
|
||||
*
|
||||
*
|
||||
* @return the builder
|
||||
*/
|
||||
public Builder setJingle(boolean jingle) {
|
||||
|
@ -177,7 +177,7 @@ public final class HttpOverXmppReq extends AbstractHttpOverXmpp {
|
|||
* Sets ibb attribute.
|
||||
*
|
||||
* @param ibb ibb attribute
|
||||
*
|
||||
*
|
||||
* @return the builder
|
||||
*/
|
||||
public Builder setIbb(boolean ibb) {
|
||||
|
@ -189,7 +189,7 @@ public final class HttpOverXmppReq extends AbstractHttpOverXmpp {
|
|||
* Sets sipub attribute.
|
||||
*
|
||||
* @param sipub sipub attribute
|
||||
*
|
||||
*
|
||||
* @return the builder
|
||||
*/
|
||||
public Builder setSipub(boolean sipub) {
|
||||
|
@ -201,7 +201,7 @@ public final class HttpOverXmppReq extends AbstractHttpOverXmpp {
|
|||
* Sets maxChunkSize attribute.
|
||||
*
|
||||
* @param maxChunkSize maxChunkSize attribute
|
||||
*
|
||||
*
|
||||
* @return the builder
|
||||
*/
|
||||
public Builder setMaxChunkSize(int maxChunkSize) {
|
||||
|
|
|
@ -84,7 +84,7 @@ public final class HttpOverXmppResp extends AbstractHttpOverXmpp {
|
|||
* Sets statusCode attribute.
|
||||
*
|
||||
* @param statusCode statusCode attribute
|
||||
*
|
||||
*
|
||||
* @return the builder
|
||||
*/
|
||||
public Builder setStatusCode(int statusCode) {
|
||||
|
@ -96,7 +96,7 @@ public final class HttpOverXmppResp extends AbstractHttpOverXmpp {
|
|||
* Sets statusMessage attribute.
|
||||
*
|
||||
* @param statusMessage statusMessage attribute
|
||||
*
|
||||
*
|
||||
* @return the builder
|
||||
*/
|
||||
public Builder setStatusMessage(String statusMessage) {
|
||||
|
|
|
@ -73,7 +73,7 @@ public abstract class AbstractHttpOverXmppProvider<H extends AbstractHttpOverXmp
|
|||
*
|
||||
* @param parser parser
|
||||
* @return Data or null if no data
|
||||
*
|
||||
*
|
||||
* @throws XmlPullParserException
|
||||
* @throws IOException
|
||||
*/
|
||||
|
|
|
@ -21,7 +21,7 @@ import org.jivesoftware.smack.SmackException;
|
|||
public class IoTException extends SmackException {
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ import org.jxmpp.jid.FullJid;
|
|||
|
||||
/**
|
||||
* A manger for XEP-0325: Internet of Things - Control.
|
||||
*
|
||||
*
|
||||
* @author Florian Schmaus {@literal <flo@geekplace.eu>}
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0325.html">XEP-0323: Internet of Things - Control</a>
|
||||
*/
|
||||
|
|
|
@ -35,7 +35,7 @@ public class IoTSetRequest extends IQ {
|
|||
|
||||
/*
|
||||
* Ugly workaround for the following error prone false positive:
|
||||
*
|
||||
*
|
||||
* IoTSetRequest.java:34: error: incompatible types: Collection<CAP#1> cannot be converted to Collection<SetData>
|
||||
* this.setData = Collections.unmodifiableCollection(setDataA);
|
||||
* ^
|
||||
|
|
|
@ -50,7 +50,7 @@ import org.jxmpp.jid.EntityFullJid;
|
|||
|
||||
/**
|
||||
* A manager for XEP-0323: Internet of Things - Sensor Data.
|
||||
*
|
||||
*
|
||||
* @author Florian Schmaus {@literal <flo@geekplace.eu>}
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0323.html">XEP-0323: Internet of Things - Sensor Data</a>
|
||||
*/
|
||||
|
|
|
@ -22,7 +22,7 @@ import org.jivesoftware.smackx.iot.discovery.element.IoTClaimed;
|
|||
public class IoTClaimedException extends IoTException {
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
|
|
@ -283,7 +283,7 @@ public final class IoTProvisioningManager extends Manager {
|
|||
/**
|
||||
* Set the configured provisioning server. Use <code>null</code> as provisioningServer to use
|
||||
* automatic discovery of the provisioning server (the default behavior).
|
||||
*
|
||||
*
|
||||
* @param provisioningServer
|
||||
*/
|
||||
public void setConfiguredProvisioningServer(Jid provisioningServer) {
|
||||
|
@ -300,7 +300,7 @@ public final class IoTProvisioningManager extends Manager {
|
|||
|
||||
/**
|
||||
* Try to find a provisioning server component.
|
||||
*
|
||||
*
|
||||
* @return the XMPP address of the provisioning server component if one was found.
|
||||
* @throws NoResponseException
|
||||
* @throws XMPPErrorException
|
||||
|
|
|
@ -58,12 +58,12 @@ import org.jxmpp.util.XmppDateTime;
|
|||
|
||||
/**
|
||||
* A Manager for Message Archive Management (XEP-0313).
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0313.html">XEP-0313: Message
|
||||
* Archive Management</a>
|
||||
* @author Florian Schmaus
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*
|
||||
*/
|
||||
public final class MamManager extends Manager {
|
||||
|
||||
|
@ -80,7 +80,7 @@ public final class MamManager extends Manager {
|
|||
|
||||
/**
|
||||
* Get the singleton instance of MamManager.
|
||||
*
|
||||
*
|
||||
* @param connection
|
||||
* @return the instance of MamManager
|
||||
*/
|
||||
|
@ -114,7 +114,7 @@ public final class MamManager extends Manager {
|
|||
|
||||
/**
|
||||
* Query archive with a maximum amount of results.
|
||||
*
|
||||
*
|
||||
* @param max
|
||||
* @return the MAM query result
|
||||
* @throws NoResponseException
|
||||
|
@ -130,7 +130,7 @@ public final class MamManager extends Manager {
|
|||
|
||||
/**
|
||||
* Query archive with a JID (only messages from/to the JID).
|
||||
*
|
||||
*
|
||||
* @param withJid
|
||||
* @return the MAM query result
|
||||
* @throws NoResponseException
|
||||
|
@ -149,7 +149,7 @@ public final class MamManager extends Manager {
|
|||
* value of 'start' will be equal to the date/time of the earliest message
|
||||
* stored in the archive. If end == null, the value of 'end' will be equal
|
||||
* to the date/time of the most recent message stored in the archive.
|
||||
*
|
||||
*
|
||||
* @param start
|
||||
* @param end
|
||||
* @return the MAM query result
|
||||
|
@ -166,7 +166,7 @@ public final class MamManager extends Manager {
|
|||
|
||||
/**
|
||||
* Query Archive adding filters with additional fields.
|
||||
*
|
||||
*
|
||||
* @param additionalFields
|
||||
* @return the MAM query result
|
||||
* @throws NoResponseException
|
||||
|
@ -183,7 +183,7 @@ public final class MamManager extends Manager {
|
|||
/**
|
||||
* Query archive filtering by start date. The value of 'end' will be equal
|
||||
* to the date/time of the most recent message stored in the archive.
|
||||
*
|
||||
*
|
||||
* @param start
|
||||
* @return the MAM query result
|
||||
* @throws NoResponseException
|
||||
|
@ -200,7 +200,7 @@ public final class MamManager extends Manager {
|
|||
/**
|
||||
* Query archive filtering by end date. The value of 'start' will be equal
|
||||
* to the date/time of the earliest message stored in the archive.
|
||||
*
|
||||
*
|
||||
* @param end
|
||||
* @return the MAM query result
|
||||
* @throws NoResponseException
|
||||
|
@ -218,7 +218,7 @@ public final class MamManager extends Manager {
|
|||
/**
|
||||
* Query archive applying filters: max count, start date, end date, from/to
|
||||
* JID and with additional fields.
|
||||
*
|
||||
*
|
||||
* @param max
|
||||
* @param start
|
||||
* @param end
|
||||
|
@ -242,7 +242,7 @@ public final class MamManager extends Manager {
|
|||
* Query an message archive like a MUC archive or a PubSub node archive, addressed by an archiveAddress, applying
|
||||
* filters: max count, start date, end date, from/to JID and with additional fields. When archiveAddress is null the
|
||||
* default, the server will be requested.
|
||||
*
|
||||
*
|
||||
* @param node The PubSub node name, can be null
|
||||
* @param max
|
||||
* @param start
|
||||
|
@ -326,7 +326,7 @@ public final class MamManager extends Manager {
|
|||
|
||||
/**
|
||||
* Returns a page of the archive.
|
||||
*
|
||||
*
|
||||
* @param dataForm
|
||||
* @param rsmSet
|
||||
* @return the MAM query result
|
||||
|
@ -345,7 +345,7 @@ public final class MamManager extends Manager {
|
|||
|
||||
/**
|
||||
* Returns a page of the archive.
|
||||
*
|
||||
*
|
||||
* @param node The PubSub node name, can be null
|
||||
* @param dataForm
|
||||
* @param rsmSet
|
||||
|
@ -368,7 +368,7 @@ public final class MamManager extends Manager {
|
|||
|
||||
/**
|
||||
* Returns the next page of the archive.
|
||||
*
|
||||
*
|
||||
* @param mamQueryResult
|
||||
* is the previous query result
|
||||
* @param count
|
||||
|
@ -389,7 +389,7 @@ public final class MamManager extends Manager {
|
|||
|
||||
/**
|
||||
* Returns the previous page of the archive.
|
||||
*
|
||||
*
|
||||
* @param mamQueryResult
|
||||
* is the previous query result
|
||||
* @param count
|
||||
|
@ -482,7 +482,7 @@ public final class MamManager extends Manager {
|
|||
|
||||
/**
|
||||
* Get the form fields supported by the server.
|
||||
*
|
||||
*
|
||||
* @return the list of form fields.
|
||||
* @throws NoResponseException
|
||||
* @throws XMPPErrorException
|
||||
|
@ -497,7 +497,7 @@ public final class MamManager extends Manager {
|
|||
|
||||
/**
|
||||
* Get the form fields supported by the server.
|
||||
*
|
||||
*
|
||||
* @param node The PubSub node name, can be null
|
||||
* @return the list of form fields.
|
||||
* @throws NoResponseException
|
||||
|
@ -618,7 +618,7 @@ public final class MamManager extends Manager {
|
|||
|
||||
/**
|
||||
* Get the preferences stored in the server.
|
||||
*
|
||||
*
|
||||
* @return the MAM preferences result
|
||||
* @throws NoResponseException
|
||||
* @throws XMPPErrorException
|
||||
|
@ -634,7 +634,7 @@ public final class MamManager extends Manager {
|
|||
|
||||
/**
|
||||
* Update the preferences in the server.
|
||||
*
|
||||
*
|
||||
* @param alwaysJids
|
||||
* is the list of JIDs that should always have messages to/from
|
||||
* archived in the user's store
|
||||
|
|
|
@ -30,11 +30,11 @@ import org.jxmpp.jid.Jid;
|
|||
|
||||
/**
|
||||
* MAM elements.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0313.html">XEP-0313: Message
|
||||
* Archive Management</a>
|
||||
* @author Fernando Ramirez and Florian Schmaus
|
||||
*
|
||||
*
|
||||
*/
|
||||
public class MamElements {
|
||||
|
||||
|
@ -42,7 +42,7 @@ public class MamElements {
|
|||
|
||||
/**
|
||||
* MAM result extension class.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0313.html">XEP-0313: Message
|
||||
* Archive Management</a>
|
||||
*
|
||||
|
@ -71,7 +71,7 @@ public class MamElements {
|
|||
|
||||
/**
|
||||
* MAM result extension constructor.
|
||||
*
|
||||
*
|
||||
* @param queryId
|
||||
* @param id
|
||||
* @param forwarded
|
||||
|
@ -90,7 +90,7 @@ public class MamElements {
|
|||
|
||||
/**
|
||||
* Get the id.
|
||||
*
|
||||
*
|
||||
* @return the id
|
||||
*/
|
||||
public String getId() {
|
||||
|
@ -99,7 +99,7 @@ public class MamElements {
|
|||
|
||||
/**
|
||||
* Get the forwarded element.
|
||||
*
|
||||
*
|
||||
* @return the forwarded element
|
||||
*/
|
||||
public Forwarded getForwarded() {
|
||||
|
@ -108,7 +108,7 @@ public class MamElements {
|
|||
|
||||
/**
|
||||
* Get query id.
|
||||
*
|
||||
*
|
||||
* @return the query id
|
||||
*/
|
||||
public final String getQueryId() {
|
||||
|
@ -159,7 +159,7 @@ public class MamElements {
|
|||
|
||||
/**
|
||||
* Always JID list element constructor.
|
||||
*
|
||||
*
|
||||
* @param alwaysJids
|
||||
*/
|
||||
AlwaysJidListElement(List<Jid> alwaysJids) {
|
||||
|
@ -193,7 +193,7 @@ public class MamElements {
|
|||
|
||||
/**
|
||||
* Never JID list element constructor.
|
||||
*
|
||||
*
|
||||
* @param neverJids
|
||||
*/
|
||||
public NeverJidListElement(List<Jid> neverJids) {
|
||||
|
|
|
@ -22,7 +22,7 @@ import org.jivesoftware.smackx.rsm.packet.RSMSet;
|
|||
|
||||
/**
|
||||
* MAM fin IQ class.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0313.html">XEP-0313: Message
|
||||
* Archive Management</a>
|
||||
* @author Fernando Ramirez
|
||||
|
@ -62,7 +62,7 @@ public class MamFinIQ extends IQ {
|
|||
|
||||
/**
|
||||
* MamFinIQ constructor.
|
||||
*
|
||||
*
|
||||
* @param queryId
|
||||
* @param rsmSet
|
||||
* @param complete
|
||||
|
@ -81,7 +81,7 @@ public class MamFinIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Get RSM set.
|
||||
*
|
||||
*
|
||||
* @return the RSM set
|
||||
*/
|
||||
public RSMSet getRSMSet() {
|
||||
|
@ -90,7 +90,7 @@ public class MamFinIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Return if it is complete.
|
||||
*
|
||||
*
|
||||
* @return true if it is complete
|
||||
*/
|
||||
public boolean isComplete() {
|
||||
|
@ -99,7 +99,7 @@ public class MamFinIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Return if it is stable.
|
||||
*
|
||||
*
|
||||
* @return true if it is stable
|
||||
*/
|
||||
public boolean isStable() {
|
||||
|
@ -108,7 +108,7 @@ public class MamFinIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Get query id.
|
||||
*
|
||||
*
|
||||
* @return the query id
|
||||
*/
|
||||
public final String getQueryId() {
|
||||
|
|
|
@ -27,11 +27,11 @@ import org.jxmpp.jid.Jid;
|
|||
|
||||
/**
|
||||
* MAM Preferences IQ class.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0313.html">XEP-0313: Message
|
||||
* Archive Management</a>
|
||||
* @author Fernando Ramirez and Florian Schmaus
|
||||
*
|
||||
*
|
||||
*/
|
||||
public class MamPrefsIQ extends IQ {
|
||||
|
||||
|
@ -79,7 +79,7 @@ public class MamPrefsIQ extends IQ {
|
|||
|
||||
/**
|
||||
* MAM preferences IQ constructor.
|
||||
*
|
||||
*
|
||||
* @param alwaysJids
|
||||
* @param neverJids
|
||||
* @param defaultBehavior
|
||||
|
@ -94,7 +94,7 @@ public class MamPrefsIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Get the list of always store info JIDs.
|
||||
*
|
||||
*
|
||||
* @return the always list
|
||||
*/
|
||||
public List<Jid> getAlwaysJids() {
|
||||
|
@ -103,7 +103,7 @@ public class MamPrefsIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Get the list of never store info JIDs.
|
||||
*
|
||||
*
|
||||
* @return the never list
|
||||
*/
|
||||
public List<Jid> getNeverJids() {
|
||||
|
@ -112,7 +112,7 @@ public class MamPrefsIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Get the default behavior.
|
||||
*
|
||||
*
|
||||
* @return the default behavior.
|
||||
*/
|
||||
public DefaultBehavior getDefault() {
|
||||
|
|
|
@ -23,11 +23,11 @@ import org.jivesoftware.smackx.xdata.packet.DataForm;
|
|||
|
||||
/**
|
||||
* MAM Query IQ class.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0313.html">XEP-0313: Message
|
||||
* Archive Management</a>
|
||||
* @author Fernando Ramirez and Florian Schmaus
|
||||
*
|
||||
*
|
||||
*/
|
||||
public class MamQueryIQ extends IQ {
|
||||
|
||||
|
@ -47,7 +47,7 @@ public class MamQueryIQ extends IQ {
|
|||
|
||||
/**
|
||||
* MAM query IQ constructor.
|
||||
*
|
||||
*
|
||||
* @param queryId
|
||||
*/
|
||||
public MamQueryIQ(String queryId) {
|
||||
|
@ -57,7 +57,7 @@ public class MamQueryIQ extends IQ {
|
|||
|
||||
/**
|
||||
* MAM query IQ constructor.
|
||||
*
|
||||
*
|
||||
* @param form
|
||||
*/
|
||||
public MamQueryIQ(DataForm form) {
|
||||
|
@ -66,7 +66,7 @@ public class MamQueryIQ extends IQ {
|
|||
|
||||
/**
|
||||
* MAM query IQ constructor.
|
||||
*
|
||||
*
|
||||
* @param queryId
|
||||
* @param form
|
||||
*/
|
||||
|
@ -76,7 +76,7 @@ public class MamQueryIQ extends IQ {
|
|||
|
||||
/**
|
||||
* MAM query IQ constructor.
|
||||
*
|
||||
*
|
||||
* @param queryId
|
||||
* @param node
|
||||
* @param dataForm
|
||||
|
@ -102,7 +102,7 @@ public class MamQueryIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Get query id.
|
||||
*
|
||||
*
|
||||
* @return the query id
|
||||
*/
|
||||
public String getQueryId() {
|
||||
|
@ -111,7 +111,7 @@ public class MamQueryIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Get the Node name.
|
||||
*
|
||||
*
|
||||
* @return the node
|
||||
*/
|
||||
public String getNode() {
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
|
||||
/**
|
||||
* Packet classes and interfaces for Message Archive Management (MAM) XEP-0313.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0313.html">XEP-0313: Message
|
||||
* Archive Management</a>
|
||||
*
|
||||
*
|
||||
*/
|
||||
package org.jivesoftware.smackx.mam.element;
|
||||
|
|
|
@ -24,11 +24,11 @@ import org.jivesoftware.smackx.mam.element.MamQueryIQ;
|
|||
|
||||
/**
|
||||
* MAM result filter class.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0313.html">XEP-0313: Message
|
||||
* Archive Management</a>
|
||||
* @author Fernando Ramirez and Florian Schmaus
|
||||
*
|
||||
*
|
||||
*/
|
||||
public class MamResultFilter extends FlexibleStanzaTypeFilter<Message> {
|
||||
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
|
||||
/**
|
||||
* Filters of Message Archive Management (MAM) XEP-0313.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0313.html">XEP-0313: Message
|
||||
* Archive Management</a>
|
||||
*
|
||||
*
|
||||
*/
|
||||
package org.jivesoftware.smackx.mam.filter;
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
|
||||
/**
|
||||
* XEP-0313: Message Archive Management.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0313.html">XEP-0313: Message
|
||||
* Archive Management</a>
|
||||
*
|
||||
*
|
||||
*/
|
||||
package org.jivesoftware.smackx.mam;
|
||||
|
|
|
@ -27,7 +27,7 @@ import org.xmlpull.v1.XmlPullParser;
|
|||
|
||||
/**
|
||||
* MAM Fin IQ Provider class.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0313.html">XEP-0313: Message
|
||||
* Archive Management</a>
|
||||
* @author Fernando Ramirez
|
||||
|
|
|
@ -32,11 +32,11 @@ import org.xmlpull.v1.XmlPullParserException;
|
|||
|
||||
/**
|
||||
* MAM Preferences IQ Provider class.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0313.html">XEP-0313: Message
|
||||
* Archive Management</a>
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*
|
||||
*/
|
||||
public class MamPrefsIQProvider extends IQProvider<MamPrefsIQ> {
|
||||
|
||||
|
|
|
@ -26,11 +26,11 @@ import org.xmlpull.v1.XmlPullParser;
|
|||
|
||||
/**
|
||||
* MAM Query IQ Provider class.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0313.html">XEP-0313: Message
|
||||
* Archive Management</a>
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*
|
||||
*/
|
||||
public class MamQueryIQProvider extends IQProvider<MamQueryIQ> {
|
||||
|
||||
|
|
|
@ -26,11 +26,11 @@ import org.xmlpull.v1.XmlPullParser;
|
|||
|
||||
/**
|
||||
* MAM Result Provider class.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0313.html">XEP-0313: Message
|
||||
* Archive Management</a>
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*
|
||||
*/
|
||||
public class MamResultProvider extends ExtensionElementProvider<MamResultExtension> {
|
||||
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
|
||||
/**
|
||||
* Provider classes of Message Archive Management (MAM) XEP-0313.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0313.html">XEP-0313: Message
|
||||
* Archive Management</a>
|
||||
*
|
||||
*
|
||||
*/
|
||||
package org.jivesoftware.smackx.mam.provider;
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
|
||||
/**
|
||||
* XEP-0394: Message Markup.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0394.html">XEP-0394: Message
|
||||
* Markup</a>
|
||||
*
|
||||
*
|
||||
*/
|
||||
package org.jivesoftware.smackx.message_markup.element;
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
|
||||
/**
|
||||
* XEP-0394: Message Markup.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0394.html">XEP-0394: Message
|
||||
* Markup</a>
|
||||
*
|
||||
*
|
||||
*/
|
||||
package org.jivesoftware.smackx.message_markup;
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
|
||||
/**
|
||||
* XEP-0394: Message Markup.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0394.html">XEP-0394: Message
|
||||
* Markup</a>
|
||||
*
|
||||
*
|
||||
*/
|
||||
package org.jivesoftware.smackx.message_markup.provider;
|
||||
|
|
|
@ -20,7 +20,7 @@ import java.util.Locale;
|
|||
|
||||
/**
|
||||
* MUCLight affiliations enum.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -20,7 +20,7 @@ import java.util.HashMap;
|
|||
|
||||
/**
|
||||
* MUC Light room configuration class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
@ -32,7 +32,7 @@ public class MUCLightRoomConfiguration {
|
|||
|
||||
/**
|
||||
* MUC Light room configuration model constructor.
|
||||
*
|
||||
*
|
||||
* @param roomName
|
||||
* @param subject
|
||||
* @param customConfigs
|
||||
|
@ -45,7 +45,7 @@ public class MUCLightRoomConfiguration {
|
|||
|
||||
/**
|
||||
* Returns the room name.
|
||||
*
|
||||
*
|
||||
* @return the name of the room.
|
||||
*/
|
||||
public String getRoomName() {
|
||||
|
@ -54,7 +54,7 @@ public class MUCLightRoomConfiguration {
|
|||
|
||||
/**
|
||||
* Returns the room subject.
|
||||
*
|
||||
*
|
||||
* @return the subject of the room.
|
||||
*/
|
||||
public String getSubject() {
|
||||
|
@ -63,7 +63,7 @@ public class MUCLightRoomConfiguration {
|
|||
|
||||
/**
|
||||
* Returns the room custom configurations.
|
||||
*
|
||||
*
|
||||
* @return the custom configurations of the room.
|
||||
*/
|
||||
public HashMap<String, String> getCustomConfigs() {
|
||||
|
|
|
@ -34,7 +34,7 @@ public class MUCLightRoomInfo {
|
|||
|
||||
/**
|
||||
* MUC Light room info model constructor.
|
||||
*
|
||||
*
|
||||
* @param version
|
||||
* @param roomJid
|
||||
* @param configuration
|
||||
|
@ -50,7 +50,7 @@ public class MUCLightRoomInfo {
|
|||
|
||||
/**
|
||||
* Returns the version.
|
||||
*
|
||||
*
|
||||
* @return the version
|
||||
*/
|
||||
public String getVersion() {
|
||||
|
@ -68,7 +68,7 @@ public class MUCLightRoomInfo {
|
|||
|
||||
/**
|
||||
* Returns the configuration.
|
||||
*
|
||||
*
|
||||
* @return the room configuration
|
||||
*/
|
||||
public MUCLightRoomConfiguration getConfiguration() {
|
||||
|
@ -77,7 +77,7 @@ public class MUCLightRoomInfo {
|
|||
|
||||
/**
|
||||
* Returns the room occupants.
|
||||
*
|
||||
*
|
||||
* @return the occupants of the room.
|
||||
*/
|
||||
public HashMap<Jid, MUCLightAffiliation> getOccupants() {
|
||||
|
|
|
@ -53,7 +53,7 @@ import org.jxmpp.jid.Jid;
|
|||
|
||||
/**
|
||||
* MUCLight class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*/
|
||||
public class MultiUserChatLight {
|
||||
|
@ -255,7 +255,7 @@ public class MultiUserChatLight {
|
|||
|
||||
/**
|
||||
* Create new MUCLight.
|
||||
*
|
||||
*
|
||||
* @param roomName
|
||||
* @param subject
|
||||
* @param customConfigs
|
||||
|
@ -278,7 +278,7 @@ public class MultiUserChatLight {
|
|||
|
||||
/**
|
||||
* Create new MUCLight.
|
||||
*
|
||||
*
|
||||
* @param roomName
|
||||
* @param occupants
|
||||
* @throws Exception
|
||||
|
@ -289,7 +289,7 @@ public class MultiUserChatLight {
|
|||
|
||||
/**
|
||||
* Leave the MUCLight.
|
||||
*
|
||||
*
|
||||
* @throws NotConnectedException
|
||||
* @throws InterruptedException
|
||||
* @throws NoResponseException
|
||||
|
@ -310,7 +310,7 @@ public class MultiUserChatLight {
|
|||
|
||||
/**
|
||||
* Get the MUC Light info.
|
||||
*
|
||||
*
|
||||
* @param version
|
||||
* @return the room info
|
||||
* @throws NoResponseException
|
||||
|
@ -331,7 +331,7 @@ public class MultiUserChatLight {
|
|||
|
||||
/**
|
||||
* Get the MUC Light info.
|
||||
*
|
||||
*
|
||||
* @return the room info
|
||||
* @throws NoResponseException
|
||||
* @throws XMPPErrorException
|
||||
|
@ -345,7 +345,7 @@ public class MultiUserChatLight {
|
|||
|
||||
/**
|
||||
* Get the MUC Light configuration.
|
||||
*
|
||||
*
|
||||
* @param version
|
||||
* @return the room configuration
|
||||
* @throws NoResponseException
|
||||
|
@ -363,7 +363,7 @@ public class MultiUserChatLight {
|
|||
|
||||
/**
|
||||
* Get the MUC Light configuration.
|
||||
*
|
||||
*
|
||||
* @return the room configuration
|
||||
* @throws NoResponseException
|
||||
* @throws XMPPErrorException
|
||||
|
@ -377,7 +377,7 @@ public class MultiUserChatLight {
|
|||
|
||||
/**
|
||||
* Get the MUC Light affiliations.
|
||||
*
|
||||
*
|
||||
* @param version
|
||||
* @return the room affiliations
|
||||
* @throws NoResponseException
|
||||
|
@ -397,7 +397,7 @@ public class MultiUserChatLight {
|
|||
|
||||
/**
|
||||
* Get the MUC Light affiliations.
|
||||
*
|
||||
*
|
||||
* @return the room affiliations
|
||||
* @throws NoResponseException
|
||||
* @throws XMPPErrorException
|
||||
|
@ -411,7 +411,7 @@ public class MultiUserChatLight {
|
|||
|
||||
/**
|
||||
* Change the MUC Light affiliations.
|
||||
*
|
||||
*
|
||||
* @param affiliations
|
||||
* @throws NoResponseException
|
||||
* @throws XMPPErrorException
|
||||
|
@ -426,7 +426,7 @@ public class MultiUserChatLight {
|
|||
|
||||
/**
|
||||
* Destroy the MUC Light. Only will work if it is requested by the owner.
|
||||
*
|
||||
*
|
||||
* @throws NoResponseException
|
||||
* @throws XMPPErrorException
|
||||
* @throws NotConnectedException
|
||||
|
@ -444,7 +444,7 @@ public class MultiUserChatLight {
|
|||
|
||||
/**
|
||||
* Change the subject of the MUC Light.
|
||||
*
|
||||
*
|
||||
* @param subject
|
||||
* @throws NoResponseException
|
||||
* @throws XMPPErrorException
|
||||
|
@ -459,7 +459,7 @@ public class MultiUserChatLight {
|
|||
|
||||
/**
|
||||
* Change the name of the room.
|
||||
*
|
||||
*
|
||||
* @param roomName
|
||||
* @throws NoResponseException
|
||||
* @throws XMPPErrorException
|
||||
|
@ -474,7 +474,7 @@ public class MultiUserChatLight {
|
|||
|
||||
/**
|
||||
* Set the room configurations.
|
||||
*
|
||||
*
|
||||
* @param customConfigs
|
||||
* @throws NoResponseException
|
||||
* @throws XMPPErrorException
|
||||
|
@ -488,7 +488,7 @@ public class MultiUserChatLight {
|
|||
|
||||
/**
|
||||
* Set the room configurations.
|
||||
*
|
||||
*
|
||||
* @param roomName
|
||||
* @param customConfigs
|
||||
* @throws NoResponseException
|
||||
|
|
|
@ -43,7 +43,7 @@ import org.jxmpp.jid.Jid;
|
|||
|
||||
/**
|
||||
* Multi-User Chat Light manager class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
@ -157,7 +157,7 @@ public final class MultiUserChatLightManager extends Manager {
|
|||
|
||||
/**
|
||||
* Get users and rooms blocked.
|
||||
*
|
||||
*
|
||||
* @param mucLightService
|
||||
* @return the list of users and rooms blocked
|
||||
* @throws NoResponseException
|
||||
|
@ -183,7 +183,7 @@ public final class MultiUserChatLightManager extends Manager {
|
|||
|
||||
/**
|
||||
* Get rooms blocked.
|
||||
*
|
||||
*
|
||||
* @param mucLightService
|
||||
* @return the list of rooms blocked
|
||||
* @throws NoResponseException
|
||||
|
@ -205,7 +205,7 @@ public final class MultiUserChatLightManager extends Manager {
|
|||
|
||||
/**
|
||||
* Get users blocked.
|
||||
*
|
||||
*
|
||||
* @param mucLightService
|
||||
* @return the list of users blocked
|
||||
* @throws NoResponseException
|
||||
|
@ -241,7 +241,7 @@ public final class MultiUserChatLightManager extends Manager {
|
|||
|
||||
/**
|
||||
* Block a room.
|
||||
*
|
||||
*
|
||||
* @param mucLightService
|
||||
* @param roomJid
|
||||
* @throws NoResponseException
|
||||
|
@ -258,7 +258,7 @@ public final class MultiUserChatLightManager extends Manager {
|
|||
|
||||
/**
|
||||
* Block rooms.
|
||||
*
|
||||
*
|
||||
* @param mucLightService
|
||||
* @param roomsJids
|
||||
* @throws NoResponseException
|
||||
|
@ -285,7 +285,7 @@ public final class MultiUserChatLightManager extends Manager {
|
|||
|
||||
/**
|
||||
* Block a user.
|
||||
*
|
||||
*
|
||||
* @param mucLightService
|
||||
* @param userJid
|
||||
* @throws NoResponseException
|
||||
|
@ -302,7 +302,7 @@ public final class MultiUserChatLightManager extends Manager {
|
|||
|
||||
/**
|
||||
* Block users.
|
||||
*
|
||||
*
|
||||
* @param mucLightService
|
||||
* @param usersJids
|
||||
* @throws NoResponseException
|
||||
|
@ -329,7 +329,7 @@ public final class MultiUserChatLightManager extends Manager {
|
|||
|
||||
/**
|
||||
* Unblock a room.
|
||||
*
|
||||
*
|
||||
* @param mucLightService
|
||||
* @param roomJid
|
||||
* @throws NoResponseException
|
||||
|
@ -346,7 +346,7 @@ public final class MultiUserChatLightManager extends Manager {
|
|||
|
||||
/**
|
||||
* Unblock rooms.
|
||||
*
|
||||
*
|
||||
* @param mucLightService
|
||||
* @param roomsJids
|
||||
* @throws NoResponseException
|
||||
|
@ -373,7 +373,7 @@ public final class MultiUserChatLightManager extends Manager {
|
|||
|
||||
/**
|
||||
* Unblock a user.
|
||||
*
|
||||
*
|
||||
* @param mucLightService
|
||||
* @param userJid
|
||||
* @throws NoResponseException
|
||||
|
@ -390,7 +390,7 @@ public final class MultiUserChatLightManager extends Manager {
|
|||
|
||||
/**
|
||||
* Unblock users.
|
||||
*
|
||||
*
|
||||
* @param mucLightService
|
||||
* @param usersJids
|
||||
* @throws NoResponseException
|
||||
|
|
|
@ -30,7 +30,7 @@ import org.jxmpp.jid.Jid;
|
|||
|
||||
/**
|
||||
* MUC Light affiliations response IQ class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
@ -44,7 +44,7 @@ public class MUCLightAffiliationsIQ extends IQ {
|
|||
|
||||
/**
|
||||
* MUC Light affiliations response IQ constructor.
|
||||
*
|
||||
*
|
||||
* @param version
|
||||
* @param affiliations
|
||||
*/
|
||||
|
@ -70,7 +70,7 @@ public class MUCLightAffiliationsIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Returns the version.
|
||||
*
|
||||
*
|
||||
* @return the version
|
||||
*/
|
||||
public String getVersion() {
|
||||
|
@ -79,7 +79,7 @@ public class MUCLightAffiliationsIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Returns the room affiliations.
|
||||
*
|
||||
*
|
||||
* @return the affiliations of the room
|
||||
*/
|
||||
public HashMap<Jid, MUCLightAffiliation> getAffiliations() {
|
||||
|
|
|
@ -29,7 +29,7 @@ import org.jxmpp.jid.Jid;
|
|||
|
||||
/**
|
||||
* MUC Light blocking IQ class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
@ -43,7 +43,7 @@ public class MUCLightBlockingIQ extends IQ {
|
|||
|
||||
/**
|
||||
* MUC Light blocking IQ constructor.
|
||||
*
|
||||
*
|
||||
* @param rooms
|
||||
* @param users
|
||||
*/
|
||||
|
@ -55,7 +55,7 @@ public class MUCLightBlockingIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Get rooms JIDs with booleans (true if allow, false if deny).
|
||||
*
|
||||
*
|
||||
* @return the rooms JIDs with booleans (true if allow, false if deny)
|
||||
*/
|
||||
public HashMap<Jid, Boolean> getRooms() {
|
||||
|
@ -64,7 +64,7 @@ public class MUCLightBlockingIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Get users JIDs with booleans (true if allow, false if deny).
|
||||
*
|
||||
*
|
||||
* @return the users JIDs with booleans (true if allow, false if deny)
|
||||
*/
|
||||
public HashMap<Jid, Boolean> getUsers() {
|
||||
|
|
|
@ -30,7 +30,7 @@ import org.jxmpp.jid.Jid;
|
|||
|
||||
/**
|
||||
* MUCLight change affiliations IQ class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
@ -43,7 +43,7 @@ public class MUCLightChangeAffiliationsIQ extends IQ {
|
|||
|
||||
/**
|
||||
* MUCLight change affiliations IQ constructor.
|
||||
*
|
||||
*
|
||||
* @param room
|
||||
* @param affiliations
|
||||
*/
|
||||
|
@ -56,7 +56,7 @@ public class MUCLightChangeAffiliationsIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Get the affiliations.
|
||||
*
|
||||
*
|
||||
* @return the affiliations
|
||||
*/
|
||||
public HashMap<Jid, MUCLightAffiliation> getAffiliations() {
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.jivesoftware.smackx.muclight.element.MUCLightElements.ConfigurationEl
|
|||
|
||||
/**
|
||||
* MUC Light configuration response IQ class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
@ -38,7 +38,7 @@ public class MUCLightConfigurationIQ extends IQ {
|
|||
|
||||
/**
|
||||
* MUC Light configuration response IQ constructor.
|
||||
*
|
||||
*
|
||||
* @param version
|
||||
* @param configuration
|
||||
*/
|
||||
|
@ -58,7 +58,7 @@ public class MUCLightConfigurationIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Returns the version.
|
||||
*
|
||||
*
|
||||
* @return the version
|
||||
*/
|
||||
public String getVersion() {
|
||||
|
@ -67,7 +67,7 @@ public class MUCLightConfigurationIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Returns the room configuration.
|
||||
*
|
||||
*
|
||||
* @return the configuration of the room
|
||||
*/
|
||||
public MUCLightRoomConfiguration getConfiguration() {
|
||||
|
|
|
@ -32,7 +32,7 @@ import org.jxmpp.jid.Jid;
|
|||
|
||||
/**
|
||||
* MUCLight create IQ class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
@ -46,7 +46,7 @@ public class MUCLightCreateIQ extends IQ {
|
|||
|
||||
/**
|
||||
* MUCLight create IQ constructor.
|
||||
*
|
||||
*
|
||||
* @param room
|
||||
* @param roomName
|
||||
* @param subject
|
||||
|
@ -69,7 +69,7 @@ public class MUCLightCreateIQ extends IQ {
|
|||
|
||||
/**
|
||||
* MUCLight create IQ constructor.
|
||||
*
|
||||
*
|
||||
* @param room
|
||||
* @param roomName
|
||||
* @param occupants
|
||||
|
@ -80,7 +80,7 @@ public class MUCLightCreateIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Get the room configuration.
|
||||
*
|
||||
*
|
||||
* @return the room configuration
|
||||
*/
|
||||
public MUCLightRoomConfiguration getConfiguration() {
|
||||
|
@ -89,7 +89,7 @@ public class MUCLightCreateIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Get the room occupants.
|
||||
*
|
||||
*
|
||||
* @return the room occupants
|
||||
*/
|
||||
public HashMap<Jid, MUCLightAffiliation> getOccupants() {
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.jxmpp.jid.Jid;
|
|||
|
||||
/**
|
||||
* MUC Light destroy IQ class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
@ -35,7 +35,7 @@ public class MUCLightDestroyIQ extends IQ {
|
|||
|
||||
/**
|
||||
* MUC Light destroy IQ constructor.
|
||||
*
|
||||
*
|
||||
* @param roomJid
|
||||
*/
|
||||
public MUCLightDestroyIQ(Jid roomJid) {
|
||||
|
|
|
@ -36,7 +36,7 @@ public abstract class MUCLightElements {
|
|||
|
||||
/**
|
||||
* Affiliations change extension element class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
@ -68,7 +68,7 @@ public abstract class MUCLightElements {
|
|||
|
||||
/**
|
||||
* Get the affiliations.
|
||||
*
|
||||
*
|
||||
* @return the affiliations
|
||||
*/
|
||||
public HashMap<Jid, MUCLightAffiliation> getAffiliations() {
|
||||
|
@ -77,7 +77,7 @@ public abstract class MUCLightElements {
|
|||
|
||||
/**
|
||||
* Get the previous version.
|
||||
*
|
||||
*
|
||||
* @return the previous version
|
||||
*/
|
||||
public String getPrevVersion() {
|
||||
|
@ -86,7 +86,7 @@ public abstract class MUCLightElements {
|
|||
|
||||
/**
|
||||
* Get the version.
|
||||
*
|
||||
*
|
||||
* @return the version
|
||||
*/
|
||||
public String getVersion() {
|
||||
|
@ -119,7 +119,7 @@ public abstract class MUCLightElements {
|
|||
|
||||
/**
|
||||
* Configurations change extension element class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
@ -136,7 +136,7 @@ public abstract class MUCLightElements {
|
|||
|
||||
/**
|
||||
* Configurations change extension constructor.
|
||||
*
|
||||
*
|
||||
* @param prevVersion
|
||||
* @param version
|
||||
* @param roomName
|
||||
|
@ -164,7 +164,7 @@ public abstract class MUCLightElements {
|
|||
|
||||
/**
|
||||
* Get the previous version.
|
||||
*
|
||||
*
|
||||
* @return the previous version
|
||||
*/
|
||||
public String getPrevVersion() {
|
||||
|
@ -173,7 +173,7 @@ public abstract class MUCLightElements {
|
|||
|
||||
/**
|
||||
* Get the version.
|
||||
*
|
||||
*
|
||||
* @return the version
|
||||
*/
|
||||
public String getVersion() {
|
||||
|
@ -182,7 +182,7 @@ public abstract class MUCLightElements {
|
|||
|
||||
/**
|
||||
* Get the room name.
|
||||
*
|
||||
*
|
||||
* @return the room name
|
||||
*/
|
||||
public String getRoomName() {
|
||||
|
@ -191,7 +191,7 @@ public abstract class MUCLightElements {
|
|||
|
||||
/**
|
||||
* Get the room subject.
|
||||
*
|
||||
*
|
||||
* @return the room subject
|
||||
*/
|
||||
public String getSubject() {
|
||||
|
@ -200,7 +200,7 @@ public abstract class MUCLightElements {
|
|||
|
||||
/**
|
||||
* Get the room custom configurations.
|
||||
*
|
||||
*
|
||||
* @return the room custom configurations
|
||||
*/
|
||||
public HashMap<String, String> getCustomConfigs() {
|
||||
|
@ -237,7 +237,7 @@ public abstract class MUCLightElements {
|
|||
|
||||
/**
|
||||
* Configuration element class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
@ -247,7 +247,7 @@ public abstract class MUCLightElements {
|
|||
|
||||
/**
|
||||
* Configuration element constructor.
|
||||
*
|
||||
*
|
||||
* @param configuration
|
||||
*/
|
||||
public ConfigurationElement(MUCLightRoomConfiguration configuration) {
|
||||
|
@ -278,7 +278,7 @@ public abstract class MUCLightElements {
|
|||
|
||||
/**
|
||||
* Occupants element class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
@ -288,7 +288,7 @@ public abstract class MUCLightElements {
|
|||
|
||||
/**
|
||||
* Occupants element constructor.
|
||||
*
|
||||
*
|
||||
* @param occupants
|
||||
*/
|
||||
public OccupantsElement(HashMap<Jid, MUCLightAffiliation> occupants) {
|
||||
|
@ -314,7 +314,7 @@ public abstract class MUCLightElements {
|
|||
|
||||
/**
|
||||
* User with affiliation element class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
@ -325,7 +325,7 @@ public abstract class MUCLightElements {
|
|||
|
||||
/**
|
||||
* User with affiliations element constructor.
|
||||
*
|
||||
*
|
||||
* @param user
|
||||
* @param affiliation
|
||||
*/
|
||||
|
@ -349,7 +349,7 @@ public abstract class MUCLightElements {
|
|||
|
||||
/**
|
||||
* Blocking element class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
@ -361,7 +361,7 @@ public abstract class MUCLightElements {
|
|||
|
||||
/**
|
||||
* Blocking element constructor.
|
||||
*
|
||||
*
|
||||
* @param jid
|
||||
* @param allow
|
||||
* @param isRoom
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.jxmpp.jid.Jid;
|
|||
|
||||
/**
|
||||
* MUC Light get affiliations IQ class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
@ -37,7 +37,7 @@ public class MUCLightGetAffiliationsIQ extends IQ {
|
|||
|
||||
/**
|
||||
* MUC Light get affiliations IQ constructor.
|
||||
*
|
||||
*
|
||||
* @param roomJid
|
||||
* @param version
|
||||
*/
|
||||
|
@ -50,7 +50,7 @@ public class MUCLightGetAffiliationsIQ extends IQ {
|
|||
|
||||
/**
|
||||
* MUC Light get affiliations IQ constructor.
|
||||
*
|
||||
*
|
||||
* @param roomJid
|
||||
*/
|
||||
public MUCLightGetAffiliationsIQ(Jid roomJid) {
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.jxmpp.jid.Jid;
|
|||
|
||||
/**
|
||||
* MUC Light get configurations IQ class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
@ -37,7 +37,7 @@ public class MUCLightGetConfigsIQ extends IQ {
|
|||
|
||||
/**
|
||||
* MUC Light get configurations IQ constructor.
|
||||
*
|
||||
*
|
||||
* @param roomJid
|
||||
* @param version
|
||||
*/
|
||||
|
@ -50,7 +50,7 @@ public class MUCLightGetConfigsIQ extends IQ {
|
|||
|
||||
/**
|
||||
* MUC Light get configurations IQ constructor.
|
||||
*
|
||||
*
|
||||
* @param roomJid
|
||||
*/
|
||||
public MUCLightGetConfigsIQ(Jid roomJid) {
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.jxmpp.jid.Jid;
|
|||
|
||||
/**
|
||||
* MUC Light get info IQ class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
@ -37,7 +37,7 @@ public class MUCLightGetInfoIQ extends IQ {
|
|||
|
||||
/**
|
||||
* MUC Light get info IQ constructor.
|
||||
*
|
||||
*
|
||||
* @param roomJid
|
||||
* @param version
|
||||
*/
|
||||
|
@ -50,7 +50,7 @@ public class MUCLightGetInfoIQ extends IQ {
|
|||
|
||||
/**
|
||||
* MUC Light get info IQ constructor.
|
||||
*
|
||||
*
|
||||
* @param roomJid
|
||||
*/
|
||||
public MUCLightGetInfoIQ(Jid roomJid) {
|
||||
|
|
|
@ -30,7 +30,7 @@ import org.jxmpp.jid.Jid;
|
|||
|
||||
/**
|
||||
* MUC Light info response IQ class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
@ -45,7 +45,7 @@ public class MUCLightInfoIQ extends IQ {
|
|||
|
||||
/**
|
||||
* MUCLight info response IQ constructor.
|
||||
*
|
||||
*
|
||||
* @param version
|
||||
* @param configuration
|
||||
* @param occupants
|
||||
|
@ -69,7 +69,7 @@ public class MUCLightInfoIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Returns the version.
|
||||
*
|
||||
*
|
||||
* @return the version
|
||||
*/
|
||||
public String getVersion() {
|
||||
|
@ -78,7 +78,7 @@ public class MUCLightInfoIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Returns the room configuration.
|
||||
*
|
||||
*
|
||||
* @return the configuration of the room
|
||||
*/
|
||||
public MUCLightRoomConfiguration getConfiguration() {
|
||||
|
@ -87,7 +87,7 @@ public class MUCLightInfoIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Returns the room occupants.
|
||||
*
|
||||
*
|
||||
* @return the occupants of the room
|
||||
*/
|
||||
public HashMap<Jid, MUCLightAffiliation> getOccupants() {
|
||||
|
|
|
@ -28,7 +28,7 @@ import org.jxmpp.jid.Jid;
|
|||
|
||||
/**
|
||||
* MUC Light set configurations IQ class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
@ -43,7 +43,7 @@ public class MUCLightSetConfigsIQ extends IQ {
|
|||
|
||||
/**
|
||||
* MUC Light set configuration IQ constructor.
|
||||
*
|
||||
*
|
||||
* @param roomJid
|
||||
* @param roomName
|
||||
* @param subject
|
||||
|
@ -60,7 +60,7 @@ public class MUCLightSetConfigsIQ extends IQ {
|
|||
|
||||
/**
|
||||
* MUC Light set configuration IQ constructor.
|
||||
*
|
||||
*
|
||||
* @param roomJid
|
||||
* @param roomName
|
||||
* @param customConfigs
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
*/
|
||||
/**
|
||||
* Multi-User Chat Light (MUC Light) elements.
|
||||
*
|
||||
*
|
||||
* @see <a href=
|
||||
* "http://mongooseim.readthedocs.io/en/latest/open-extensions/xeps/xep-muc-light.html">
|
||||
* XEP-xxxx: Multi-User Chat Light</a>
|
||||
*
|
||||
*
|
||||
*/
|
||||
package org.jivesoftware.smackx.muclight.element;
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
*/
|
||||
/**
|
||||
* Classes and Interfaces that implement Multi-User Chat Light (MUC Light).
|
||||
*
|
||||
*
|
||||
* @see <a href=
|
||||
* "http://mongooseim.readthedocs.io/en/latest/open-extensions/xeps/xep-muc-light.html">
|
||||
* XEP-xxxx: Multi-User Chat Light</a>
|
||||
*
|
||||
*
|
||||
*/
|
||||
package org.jivesoftware.smackx.muclight;
|
||||
|
|
|
@ -29,7 +29,7 @@ import org.xmlpull.v1.XmlPullParser;
|
|||
|
||||
/**
|
||||
* MUC Light Affiliations Change Provider class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -29,7 +29,7 @@ import org.xmlpull.v1.XmlPullParser;
|
|||
|
||||
/**
|
||||
* MUC Light affiliations IQ provider class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -32,7 +32,7 @@ import org.xmlpull.v1.XmlPullParserException;
|
|||
|
||||
/**
|
||||
* MUC Light blocking IQ provider class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -27,7 +27,7 @@ import org.xmlpull.v1.XmlPullParser;
|
|||
|
||||
/**
|
||||
* MUC Light configuration IQ provider class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@ import org.xmlpull.v1.XmlPullParser;
|
|||
|
||||
/**
|
||||
* MUC Light configurations change provider class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -30,7 +30,7 @@ import org.xmlpull.v1.XmlPullParser;
|
|||
|
||||
/**
|
||||
* MUC Light info IQ provider class.
|
||||
*
|
||||
*
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
*/
|
||||
/**
|
||||
* Multi-User Chat Light (MUC Light) providers.
|
||||
*
|
||||
*
|
||||
* @see <a href=
|
||||
* "http://mongooseim.readthedocs.io/en/latest/open-extensions/xeps/xep-muc-light.html">
|
||||
* XEP-xxxx: Multi-User Chat Light</a>
|
||||
*
|
||||
*
|
||||
*/
|
||||
package org.jivesoftware.smackx.muclight.provider;
|
||||
|
|
|
@ -39,11 +39,11 @@ import org.jxmpp.jid.Jid;
|
|||
|
||||
/**
|
||||
* Push Notifications manager class.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0357.html">XEP-0357: Push
|
||||
* Notifications</a>
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*
|
||||
*/
|
||||
public final class PushNotificationsManager extends Manager {
|
||||
|
||||
|
@ -97,7 +97,7 @@ public final class PushNotificationsManager extends Manager {
|
|||
|
||||
/**
|
||||
* Enable push notifications.
|
||||
*
|
||||
*
|
||||
* @param pushJid
|
||||
* @param node
|
||||
* @return true if it was successfully enabled, false if not
|
||||
|
@ -113,7 +113,7 @@ public final class PushNotificationsManager extends Manager {
|
|||
|
||||
/**
|
||||
* Enable push notifications.
|
||||
*
|
||||
*
|
||||
* @param pushJid
|
||||
* @param node
|
||||
* @param publishOptions
|
||||
|
@ -132,7 +132,7 @@ public final class PushNotificationsManager extends Manager {
|
|||
|
||||
/**
|
||||
* Disable all push notifications.
|
||||
*
|
||||
*
|
||||
* @param pushJid
|
||||
* @return true if it was successfully disabled, false if not
|
||||
* @throws NoResponseException
|
||||
|
@ -147,7 +147,7 @@ public final class PushNotificationsManager extends Manager {
|
|||
|
||||
/**
|
||||
* Disable push notifications of an specific node.
|
||||
*
|
||||
*
|
||||
* @param pushJid
|
||||
* @param node
|
||||
* @return true if it was successfully disabled, false if not
|
||||
|
|
|
@ -22,11 +22,11 @@ import org.jxmpp.jid.Jid;
|
|||
|
||||
/**
|
||||
* Disable Push Notifications IQ.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0357.html">XEP-0357: Push
|
||||
* Notifications</a>
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*
|
||||
*/
|
||||
public class DisablePushNotificationsIQ extends IQ {
|
||||
|
||||
|
@ -56,7 +56,7 @@ public class DisablePushNotificationsIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Get the JID.
|
||||
*
|
||||
*
|
||||
* @return the JID
|
||||
*/
|
||||
public Jid getJid() {
|
||||
|
@ -65,7 +65,7 @@ public class DisablePushNotificationsIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Get the node.
|
||||
*
|
||||
*
|
||||
* @return the node
|
||||
*/
|
||||
public String getNode() {
|
||||
|
|
|
@ -30,11 +30,11 @@ import org.jxmpp.jid.Jid;
|
|||
|
||||
/**
|
||||
* Enable Push Notifications IQ.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0357.html">XEP-0357: Push
|
||||
* Notifications</a>
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*
|
||||
*/
|
||||
public class EnablePushNotificationsIQ extends IQ {
|
||||
|
||||
|
@ -66,7 +66,7 @@ public class EnablePushNotificationsIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Get the JID.
|
||||
*
|
||||
*
|
||||
* @return the JID
|
||||
*/
|
||||
public Jid getJid() {
|
||||
|
@ -75,7 +75,7 @@ public class EnablePushNotificationsIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Get the node.
|
||||
*
|
||||
*
|
||||
* @return the node
|
||||
*/
|
||||
public String getNode() {
|
||||
|
@ -84,7 +84,7 @@ public class EnablePushNotificationsIQ extends IQ {
|
|||
|
||||
/**
|
||||
* Get the publish options.
|
||||
*
|
||||
*
|
||||
* @return the publish options
|
||||
*/
|
||||
public HashMap<String, String> getPublishOptions() {
|
||||
|
|
|
@ -26,11 +26,11 @@ import org.jxmpp.jid.Jid;
|
|||
|
||||
/**
|
||||
* Push Notifications elements.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0357.html">XEP-0357: Push
|
||||
* Notifications</a>
|
||||
* @author Fernando Ramirez
|
||||
*
|
||||
*
|
||||
*/
|
||||
public class PushNotificationsElements {
|
||||
|
||||
|
@ -61,7 +61,7 @@ public class PushNotificationsElements {
|
|||
|
||||
/**
|
||||
* Get the node.
|
||||
*
|
||||
*
|
||||
* @return the node
|
||||
*/
|
||||
public String getNode() {
|
||||
|
@ -70,7 +70,7 @@ public class PushNotificationsElements {
|
|||
|
||||
/**
|
||||
* Get the user JID.
|
||||
*
|
||||
*
|
||||
* @return the user JID
|
||||
*/
|
||||
public Jid getUserJid() {
|
||||
|
|
|
@ -26,7 +26,7 @@ import org.xmlpull.v1.XmlPullParser;
|
|||
|
||||
/**
|
||||
* Push Notifications Remote Disabling Provider class.
|
||||
*
|
||||
*
|
||||
* @see <a href="http://xmpp.org/extensions/xep-0357.html">XEP-0357: Push
|
||||
* Notifications</a>
|
||||
* @author Fernando Ramirez
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue