public abstract class AbstractJidTypeFilter extends java.lang.Object implements StanzaFilter
Modifier and Type | Class and Description |
---|---|
protected 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 Jid |
getJidToInspect(Stanza stanza) |
protected AbstractJidTypeFilter(AbstractJidTypeFilter.JidType jidType)
protected abstract Jid getJidToInspect(Stanza stanza)
public final boolean accept(Stanza stanza)
StanzaFilter
accept
in interface StanzaFilter
stanza
- the stanza(/packet) to test.