Package net.sf.saxon.pattern
Interface NodePredicate
-
- All Known Implementing Classes:
AnyNodeTest,CombinedNodeTest,ContentTypeTest,DocumentNodeTest,ErrorType,LocalNameTest,MultipleNodeKindTest,NamespaceTest,NameTest,NodeKindTest,NodeSelector,NodeTest,SameNameTest,SchemaAttributeTest,SchemaElementTest
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface NodePredicateInterface representing a predicate applied to a node.Note: the reason for not simply using
Predicate<NodeInfo>is for C#: interfaces and delegates need to be provided separately.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleantest(NodeInfo node)
-
-
-
Method Detail
-
test
boolean test(NodeInfo node)
-
-