1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-09 17:19:39 +02:00

Globally 's;stanza(/packet);stanza;'

This commit is contained in:
Florian Schmaus 2018-03-31 14:17:30 +02:00
parent 1d12be1644
commit ad87243060
171 changed files with 911 additions and 599 deletions

View file

@ -25,17 +25,17 @@ import org.jivesoftware.smack.packet.ExtensionElement;
import org.jivesoftware.smackx.workgroup.util.MetaDataUtils;
/**
* MetaData stanza(/packet) extension.
* MetaData stanza extension.
*/
public class MetaData implements ExtensionElement {
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "metadata";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jivesoftware.com/protocol/workgroup";

View file

@ -197,7 +197,7 @@ public class AgentSession {
/**
* Close the agent session. The underlying connection will remain opened but the
* stanza(/packet) listeners that were added by this agent session will be removed.
* stanza listeners that were added by this agent session will be removed.
*/
public void close() {
connection.removeAsyncStanzaListener(packetListener);

View file

@ -26,12 +26,12 @@ import org.xmlpull.v1.XmlPullParser;
public class WorkgroupForm extends SimpleIQ {
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "workgroup-form";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jivesoftware.com/protocol/workgroup";

View file

@ -36,12 +36,12 @@ import org.xmlpull.v1.XmlPullParserException;
public class AgentChatHistory extends IQ {
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "chat-sessions";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jivesoftware.com/protocol/workgroup";

View file

@ -33,12 +33,12 @@ import org.xmlpull.v1.XmlPullParserException;
public class ChatMetadata extends IQ {
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "chat-metadata";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jivesoftware.com/protocol/workgroup";

View file

@ -35,12 +35,12 @@ import org.xmlpull.v1.XmlPullParserFactory;
public class Macros extends IQ {
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "macros";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jivesoftware.com/protocol/workgroup";

View file

@ -26,17 +26,17 @@ import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
/**
* IQ stanza(/packet) for retrieving and adding Chat Notes.
* IQ stanza for retrieving and adding Chat Notes.
*/
public class ChatNotes extends IQ {
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "chat-notes";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jivesoftware.com/protocol/workgroup";

View file

@ -26,17 +26,17 @@ import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
/**
* IQ stanza(/packet) for retrieving and changing the Agent personal information.
* IQ stanza for retrieving and changing the Agent personal information.
*/
public class AgentInfo extends IQ {
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "agent-info";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jivesoftware.com/protocol/workgroup";

View file

@ -47,12 +47,12 @@ public class AgentStatus implements ExtensionElement {
}
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "agent-status";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jabber.org/protocol/workgroup";

View file

@ -30,8 +30,8 @@ import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
/**
* Agent status request packet. This stanza(/packet) is used by agents to request the list of
* agents in a workgroup. The response stanza(/packet) contains a list of packets. Presence
* Agent status request packet. This stanza is used by agents to request the list of
* agents in a workgroup. The response stanza contains a list of packets. Presence
* packets from individual agents follow.
*
* @author Matt Tucker
@ -39,12 +39,12 @@ import org.xmlpull.v1.XmlPullParserException;
public class AgentStatusRequest extends IQ {
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "agent-status-request";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jabber.org/protocol/workgroup";

View file

@ -22,7 +22,7 @@ import org.jivesoftware.smack.packet.IQ;
import org.jxmpp.jid.Jid;
/**
* A IQ stanza(/packet) used to depart a workgroup queue. There are two cases for issuing a depart
* A IQ stanza used to depart a workgroup queue. There are two cases for issuing a depart
* queue request:<ul>
* <li>The user wants to leave the queue. In this case, an instance of this class
* should be created without passing in a user address.
@ -41,7 +41,7 @@ public class DepartQueuePacket extends IQ {
}
/**
* Creates a depart queue request stanza(/packet) to the specified workgroup.
* Creates a depart queue request stanza to the specified workgroup.
*
* @param workgroup the workgroup to depart.
*/

View file

@ -47,12 +47,12 @@ public class MonitorPacket extends IQ {
}
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "monitor";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jivesoftware.com/protocol/workgroup";

View file

@ -49,12 +49,12 @@ public class OccupantsInfo extends IQ {
}
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "occupants-info";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jivesoftware.com/protocol/workgroup";

View file

@ -36,19 +36,19 @@ import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
/**
* Queue details stanza(/packet) extension, which contains details about the users
* Queue details stanza extension, which contains details about the users
* currently in a queue.
*/
public final class QueueDetails implements ExtensionElement {
private static final Logger LOGGER = Logger.getLogger(QueueDetails.class.getName());
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "notify-queue-details";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jabber.org/protocol/workgroup";
@ -139,7 +139,7 @@ public final class QueueDetails implements ExtensionElement {
}
/**
* Provider class for QueueDetails stanza(/packet) extensions.
* Provider class for QueueDetails stanza extensions.
*/
public static class Provider extends ExtensionElementProvider<QueueDetails> {

View file

@ -34,12 +34,12 @@ import org.xmlpull.v1.XmlPullParserException;
public class QueueOverview implements ExtensionElement {
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static String ELEMENT_NAME = "notify-queue";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static String NAMESPACE = "http://jabber.org/protocol/workgroup";

View file

@ -26,19 +26,19 @@ import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
/**
* An IQ stanza(/packet) that encapsulates both types of workgroup queue
* An IQ stanza that encapsulates both types of workgroup queue
* status notifications -- position updates, and estimated time
* left in the queue updates.
*/
public class QueueUpdate implements ExtensionElement {
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "queue-status";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jabber.org/protocol/workgroup";

View file

@ -36,12 +36,12 @@ import org.xmlpull.v1.XmlPullParserException;
public class RoomInvitation implements ExtensionElement {
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "invite";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jabber.org/protocol/workgroup";

View file

@ -36,12 +36,12 @@ import org.xmlpull.v1.XmlPullParserException;
public class RoomTransfer implements ExtensionElement {
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "transfer";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jabber.org/protocol/workgroup";

View file

@ -28,12 +28,12 @@ import org.xmlpull.v1.XmlPullParserException;
public class SessionID implements ExtensionElement {
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "session";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jivesoftware.com/protocol/workgroup";

View file

@ -24,7 +24,7 @@ import org.jivesoftware.smack.util.PacketParserUtils;
import org.xmlpull.v1.XmlPullParser;
/**
* IQ stanza(/packet) for retrieving the transcript search form, submitting the completed search form
* IQ stanza for retrieving the transcript search form, submitting the completed search form
* or retrieving the answer of a transcript search.
*
* @author Gaston Dombiak
@ -32,12 +32,12 @@ import org.xmlpull.v1.XmlPullParser;
public class TranscriptSearch extends SimpleIQ {
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "transcript-search";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jivesoftware.com/protocol/workgroup";

View file

@ -30,12 +30,12 @@ import org.xmlpull.v1.XmlPullParserException;
public class UserID implements ExtensionElement {
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "user";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jivesoftware.com/protocol/workgroup";

View file

@ -26,18 +26,18 @@ import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
/**
* A stanza(/packet) extension that contains information about the user and agent in a
* workgroup chat. The stanza(/packet) extension is attached to group chat invitations.
* A stanza extension that contains information about the user and agent in a
* workgroup chat. The stanza extension is attached to group chat invitations.
*/
public class WorkgroupInformation implements ExtensionElement {
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "workgroup";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jabber.org/protocol/workgroup";

View file

@ -51,12 +51,12 @@ public class ChatSettings extends IQ {
private int type = -1;
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "chat-settings";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jivesoftware.com/protocol/workgroup";

View file

@ -52,12 +52,12 @@ public class GenericSettings extends IQ {
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "generic-metadata";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jivesoftware.com/protocol/workgroup";

View file

@ -88,12 +88,12 @@ public class OfflineSettings extends SimpleIQ {
}
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "offline-settings";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jivesoftware.com/protocol/workgroup";

View file

@ -59,12 +59,12 @@ public class SearchSettings extends SimpleIQ {
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "search-settings";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jivesoftware.com/protocol/workgroup";

View file

@ -49,12 +49,12 @@ public class SoundSettings extends SimpleIQ {
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "sound-settings";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jivesoftware.com/protocol/workgroup";

View file

@ -67,12 +67,12 @@ public class WorkgroupProperties extends IQ {
/**
* Element name of the stanza(/packet) extension.
* Element name of the stanza extension.
*/
public static final String ELEMENT_NAME = "workgroup-properties";
/**
* Namespace of the stanza(/packet) extension.
* Namespace of the stanza extension.
*/
public static final String NAMESPACE = "http://jivesoftware.com/protocol/workgroup";

View file

@ -562,7 +562,7 @@ public class Workgroup {
}
/**
* IQ stanza(/packet) to request joining the workgroup queue.
* IQ stanza to request joining the workgroup queue.
*/
private final class JoinQueuePacket extends IQ {

View file

@ -76,7 +76,7 @@ public class MessageEvent implements ExtensionElement {
* Returns the XML element name of the extension sub-packet root element.
* Always returns "x"
*
* @return the XML element name of the stanza(/packet) extension.
* @return the XML element name of the stanza extension.
*/
@Override
public String getElementName() {
@ -87,7 +87,7 @@ public class MessageEvent implements ExtensionElement {
* Returns the XML namespace of the extension sub-packet root element.
* According the specification the namespace is always "jabber:x:event"
*
* @return the XML namespace of the stanza(/packet) extension.
* @return the XML namespace of the stanza extension.
*/
@Override
public String getNamespace() {
@ -155,7 +155,7 @@ public class MessageEvent implements ExtensionElement {
/**
* Returns the unique ID of the message that requested to be notified of the event.
* The stanza(/packet) id is not used when the message is a request for notifications
* The stanza id is not used when the message is a request for notifications
*
* @return the message id that requested to be notified of the event.
*/
@ -256,7 +256,7 @@ public class MessageEvent implements ExtensionElement {
/**
* Sets the unique ID of the message that requested to be notified of the event.
* The stanza(/packet) id is not used when the message is a request for notifications
* The stanza id is not used when the message is a request for notifications
*
* @param packetID the message id that requested to be notified of the event.
*/

View file

@ -35,7 +35,7 @@ import org.xmlpull.v1.XmlPullParserException;
public class MessageEventProvider extends ExtensionElementProvider<MessageEvent> {
/**
* Parses a MessageEvent stanza(/packet) (extension sub-packet).
* Parses a MessageEvent stanza (extension sub-packet).
*
* @param parser the XML parser, positioned at the starting element of the extension.
* @return a PacketExtension.

View file

@ -109,7 +109,7 @@ public class RosterExchange implements ExtensionElement {
* Returns the XML element name of the extension sub-packet root element.
* Always returns "x"
*
* @return the XML element name of the stanza(/packet) extension.
* @return the XML element name of the stanza extension.
*/
@Override
public String getElementName() {
@ -121,7 +121,7 @@ public class RosterExchange implements ExtensionElement {
* According the specification the namespace is always "jabber:x:roster"
* (which is not to be confused with the 'jabber:iq:roster' namespace
*
* @return the XML namespace of the stanza(/packet) extension.
* @return the XML namespace of the stanza extension.
*/
@Override
public String getNamespace() {

View file

@ -39,7 +39,7 @@ import org.xmlpull.v1.XmlPullParserException;
public class RosterExchangeProvider extends ExtensionElementProvider<RosterExchange> {
/**
* Parses a RosterExchange stanza(/packet) (extension sub-packet).
* Parses a RosterExchange stanza (extension sub-packet).
*
* @param parser the XML parser, positioned at the starting element of the extension.
* @return a PacketExtension.