org.inria.ns.reflex.xml.filter
Interface RuleBasedFilter

All Superinterfaces:
Filter
All Known Subinterfaces:
RunnableRuleBasedFilter
All Known Implementing Classes:
AbstractFilter, DOMFilter, XIncludeFilter

public interface RuleBasedFilter
extends Filter

A filter defined by a set of rules.

Author:
Philippe Poulard

Method Summary
 FilterContextFactory getFilterContextFactory()
          Get the filter context factory that the filter will use.
 List getRules()
          Return the list of rules used by this filter.
 boolean normalize()
          Indicates the default value for normalization, if not overriden by a rule.
 

Method Detail

getFilterContextFactory

FilterContextFactory getFilterContextFactory()
Get the filter context factory that the filter will use.

Returns:
This default implementation return the default factory.

getRules

List getRules()
Return the list of rules used by this filter.

Returns:
The non-null list of rules used by this filter.
See Also:
Rule

normalize

boolean normalize()
Indicates the default value for normalization, if not overriden by a rule.

Returns:
true if adjacent text nodes must be merged, false otherwise.