Class CompoundParseFilter

  • All Implemented Interfaces:
    Serializable, Cloneable, org.apache.abdera.filter.ParseFilter

    @Deprecated
    public class CompoundParseFilter
    extends AbstractParseFilter
    implements org.apache.abdera.filter.ParseFilter
    Deprecated.
    Legacy AEM 6.x API.

    A simple compound parse filter that allows us to apply multiple parse filters to a single parse operation.

      CompoundParseFilter filter =
          new CompoundParseFilter(CompoundParseFilter.Condition.ACCEPTABLE_TO_ALL, new SafeContentWhiteListParseFilter(),
                                  new MyWhiteListParseFilter(), new MySomeOtherKindOfParseFilter());
      options.setParseFilter(filter);
      
    See Also:
    Serialized Form
    • Constructor Detail

      • CompoundParseFilter

        public CompoundParseFilter​(CompoundParseFilter.Condition condition,
                                   org.apache.abdera.filter.ParseFilter... filters)
        Deprecated.
      • CompoundParseFilter

        public CompoundParseFilter​(org.apache.abdera.filter.ParseFilter... filters)
        Deprecated.
    • Method Detail

      • acceptable

        public boolean acceptable​(QName qname)
        Deprecated.
        Specified by:
        acceptable in interface org.apache.abdera.filter.ParseFilter
      • acceptable

        public boolean acceptable​(QName qname,
                                  QName attribute)
        Deprecated.
        Specified by:
        acceptable in interface org.apache.abdera.filter.ParseFilter