Package org.jivesoftware.smack.filter
Class AbstractPossibleJidTypeFilter
- java.lang.Object
-
- org.jivesoftware.smack.filter.AbstractJidTypeFilter
-
- org.jivesoftware.smack.filter.AbstractPossibleJidTypeFilter
-
- All Implemented Interfaces:
StanzaFilter,Predicate<Stanza>
- Direct Known Subclasses:
PossibleFromTypeFilter,PossibleToTypeFilter
public abstract class AbstractPossibleJidTypeFilter 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 protectedAbstractPossibleJidTypeFilter(AbstractJidTypeFilter.JidType jidType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(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
-
AbstractPossibleJidTypeFilter
protected AbstractPossibleJidTypeFilter(AbstractJidTypeFilter.JidType jidType)
-
-
Method Detail
-
accept
public final boolean accept(Stanza stanza)
Description copied from interface:StanzaFilterTests whether or not the specified stanza should pass the filter.- Parameters:
stanza- the stanza to test.- Returns:
- true if and only if
stanzapasses the filter.
-
-