mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-12-11 23:51:09 +01:00
Rename PacketFilter (and implementing classes) and PacketExtension
to StanzaFilter and ExtensionElement.
This commit is contained in:
parent
2250ac20ed
commit
d4a6d8e653
233 changed files with 1175 additions and 895 deletions
|
|
@ -16,8 +16,8 @@
|
|||
*/
|
||||
package org.jivesoftware.smackx.attention.packet;
|
||||
|
||||
import org.jivesoftware.smack.packet.PacketExtension;
|
||||
import org.jivesoftware.smack.provider.PacketExtensionProvider;
|
||||
import org.jivesoftware.smack.packet.ExtensionElement;
|
||||
import org.jivesoftware.smack.provider.ExtensionElementProvider;
|
||||
import org.xmlpull.v1.XmlPullParser;
|
||||
|
||||
/**
|
||||
|
|
@ -30,7 +30,7 @@ import org.xmlpull.v1.XmlPullParser;
|
|||
* @see <a
|
||||
* href="http://xmpp.org/extensions/xep-0224.html">XEP-0224: Attention</a>
|
||||
*/
|
||||
public class AttentionExtension implements PacketExtension {
|
||||
public class AttentionExtension implements ExtensionElement {
|
||||
|
||||
/**
|
||||
* The XML element name of an 'attention' extension.
|
||||
|
|
@ -73,14 +73,14 @@ public class AttentionExtension implements PacketExtension {
|
|||
}
|
||||
|
||||
/**
|
||||
* A {@link PacketExtensionProvider} for the {@link AttentionExtension}. As
|
||||
* A {@link ExtensionElementProvider} for the {@link AttentionExtension}. As
|
||||
* Attention elements have no state/information other than the element name
|
||||
* and namespace, this implementation simply returns new instances of
|
||||
* {@link AttentionExtension}.
|
||||
*
|
||||
* @author Guus der Kinderen, guus.der.kinderen@gmail.com
|
||||
s */
|
||||
public static class Provider extends PacketExtensionProvider<AttentionExtension> {
|
||||
public static class Provider extends ExtensionElementProvider<AttentionExtension> {
|
||||
|
||||
@Override
|
||||
public AttentionExtension parse(XmlPullParser parser, int initialDepth) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue