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

@ -28,7 +28,7 @@ import org.jivesoftware.smackx.forward.packet.Forwarded;
* meant to synchronize a message flow to multiple presences of a user.
*
* <p>
* It accomplishes this by wrapping a {@link Forwarded} stanza(/packet) in a <b>sent</b>
* It accomplishes this by wrapping a {@link Forwarded} stanza in a <b>sent</b>
* or <b>received</b> element
*
* @author Georg Lukas

View file

@ -28,7 +28,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(/packet) extension.
* carbon copied messages from a packet. It will return a {@link CarbonExtension} stanza extension.
*
* @author Georg Lukas
*

View file

@ -49,10 +49,10 @@ public class GcmPacketExtension extends AbstractJsonPacketExtension {
}
/**
* Retrieve the GCM stanza(/packet) extension from the packet.
* Retrieve the GCM stanza extension from the packet.
*
* @param packet
* @return the GCM stanza(/packet) extension or null.
* @return the GCM stanza extension or null.
*/
public static GcmPacketExtension from(Stanza packet) {
return packet.getExtension(ELEMENT, NAMESPACE);

View file

@ -30,7 +30,7 @@ import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
/**
* Abstract parent for Req and Resp stanza(/packet) providers.
* Abstract parent for Req and Resp stanza providers.
*
* @author Andriy Tsykholyas
* @see <a href="http://xmpp.org/extensions/xep-0332.html">XEP-0332: HTTP over XMPP transport</a>

View file

@ -22,7 +22,7 @@ import org.jivesoftware.smackx.hoxt.packet.HttpOverXmppReq;
import org.xmlpull.v1.XmlPullParser;
/**
* Req stanza(/packet) provider.
* Req stanza provider.
*
* @author Andriy Tsykholyas
* @see <a href="http://xmpp.org/extensions/xep-0332.html">XEP-0332: HTTP over XMPP transport</a>

View file

@ -23,7 +23,7 @@ import org.jivesoftware.smackx.shim.packet.HeadersExtension;
import org.xmlpull.v1.XmlPullParser;
/**
* Resp stanza(/packet) provider.
* Resp stanza provider.
*
* @author Andriy Tsykholyas
* @see <a href="http://xmpp.org/extensions/xep-0332.html">XEP-0332: HTTP over XMPP transport</a>

View file

@ -79,7 +79,7 @@ public abstract class SetData implements NamedElement {
/**
* Returns the XML representation of this Element.
*
* @return the stanza(/packet) extension as XML.
* @return the stanza extension as XML.
*/
@Override
public final XmlStringBuilder toXML() {

View file

@ -43,10 +43,10 @@ public class JsonPacketExtension extends AbstractJsonPacketExtension {
}
/**
* Retrieve the JSON stanza(/packet) extension from the packet.
* Retrieve the JSON stanza extension from the packet.
*
* @param packet
* @return the JSON stanza(/packet) extension or null.
* @return the JSON stanza extension or null.
*/
public static JsonPacketExtension from(Stanza packet) {
return packet.getExtension(ELEMENT, NAMESPACE);

View file

@ -210,12 +210,12 @@ public class MultiUserChatLight {
}
/**
* Adds a stanza(/packet) listener that will be notified of any new messages
* Adds a stanza listener that will be notified of any new messages
* in the group chat. Only "group chat" messages addressed to this group
* chat will be delivered to the listener.
*
* @param listener
* a stanza(/packet) listener.
* a stanza listener.
* @return true if the listener was not already added.
*/
public boolean addMessageListener(MessageListener listener) {
@ -223,12 +223,12 @@ public class MultiUserChatLight {
}
/**
* Removes a stanza(/packet) listener that was being notified of any new
* Removes a stanza listener that was being notified of any new
* messages in the MUCLight. Only "group chat" messages addressed to this
* MUCLight were being delivered to the listener.
*
* @param listener
* a stanza(/packet) listener.
* a stanza listener.
* @return true if the listener was removed, otherwise the listener was not
* added previously.
*/