Class ExtensionElementFilter<E extends ExtensionElement>

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ExtensionElementFilter​(java.lang.Class<E> extensionElementClass)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(E extensionElement)  
      boolean accept​(Stanza stanza)
      Tests whether or not the specified stanza should pass the filter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.
        Specified by:
        accept in interface StanzaFilter
        Parameters:
        stanza - the stanza to test.
        Returns:
        true if and only if stanza passes the filter.
      • accept

        public boolean accept​(E extensionElement)