Interface NodePredicate

All Known Implementing Classes:
AnyNodeTest, CombinedNodeTest, ContentTypeTest, DocumentNodeTest, ErrorType, LocalNameTest, MultipleNodeKindTest, NamespaceTest, NameTest, NameTestUnion, 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 NodePredicate
Interface 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

    Modifier and Type
    Method
    Description
    boolean
    test(NodeInfo node)
     
  • Method Details