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 Jid |
getJidToMatchFrom(Stanza stanza) |
java.lang.String |
toString() |
protected AbstractJidTypeFilter(AbstractJidTypeFilter.JidType jidType)
public boolean accept(Stanza stanza)
StanzaFilter
accept
in interface StanzaFilter
stanza
- the stanza(/packet) to test.protected abstract Jid getJidToMatchFrom(Stanza stanza)
public final java.lang.String toString()
toString
in class java.lang.Object