RawFilterStrategy class final
Evaluates the predicate for each child. Only a boolean true keeps a
child, so a numeric predicate such as [2] keeps nothing (JavaRosa
handles positions through multiplicities, not predicates).
- Implemented types
Constructors
- RawFilterStrategy()
-
Creates the strategy.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
filter(
DataInstance sourceInstance, TreeReference nodeset, XPathExpression predicate, List< TreeReference> children, EvaluationContext context, List<TreeReference> next()) → List<TreeReference> -
The
childrenofnodesetthat passpredicate, or the result ofnext(the rest of the chain) when this strategy doesn't apply.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited