public abstract class AbstractJidTypeFilter extends java.lang.Object implements StanzaFilter
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractJidTypeFilter.JidType |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractJidTypeFilter(AbstractJidTypeFilter.JidType jidType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Stanza stanza)
Tests whether or not the specified stanza should pass the filter.
|
protected abstract org.jxmpp.jid.Jid |
getJidToMatchFrom(Stanza stanza) |
java.lang.String |
toString() |
protected AbstractJidTypeFilter(AbstractJidTypeFilter.JidType jidType)
public boolean accept(Stanza stanza)
StanzaFilteraccept in interface StanzaFilterstanza - the stanza(/packet) to test.protected abstract org.jxmpp.jid.Jid getJidToMatchFrom(Stanza stanza)
public final java.lang.String toString()
toString in class java.lang.Object