Package org.jivesoftware.smack.filter
Class AbstractExactJidTypeFilter
- java.lang.Object
-
- org.jivesoftware.smack.filter.AbstractJidTypeFilter
-
- org.jivesoftware.smack.filter.AbstractExactJidTypeFilter
-
- All Implemented Interfaces:
StanzaFilter
,Predicate<Stanza>
- Direct Known Subclasses:
FromTypeFilter
,ToTypeFilter
public abstract class AbstractExactJidTypeFilter extends AbstractJidTypeFilter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jivesoftware.smack.filter.AbstractJidTypeFilter
AbstractJidTypeFilter.JidType
-
-
Field Summary
-
Fields inherited from class org.jivesoftware.smack.filter.AbstractJidTypeFilter
jidType
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractExactJidTypeFilter(AbstractJidTypeFilter.JidType jidType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(Stanza stanza)
Tests whether or not the specified stanza should pass the filter.-
Methods inherited from class org.jivesoftware.smack.filter.AbstractJidTypeFilter
getJidToInspect
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.filter.StanzaFilter
asPredicate, test
-
-
-
-
Constructor Detail
-
AbstractExactJidTypeFilter
protected AbstractExactJidTypeFilter(AbstractJidTypeFilter.JidType jidType)
-
-
Method Detail
-
accept
public final boolean accept(Stanza stanza)
Description copied from interface:StanzaFilter
Tests whether or not the specified stanza should pass the filter.- Parameters:
stanza
- the stanza to test.- Returns:
- true if and only if
stanza
passes the filter.
-
-