Interface NodePredicate

All Known Subinterfaces:
NamedXNodePredicate, NodeTest, NodeVectorMatchMaker
All Known Implementing Classes:
AnyGNode, AnyGNodeType, AnyJNodeType, AnyXNodeType, CombinedNodeTest, DocumentNodeType, ErrorType, GNodeType, JNodeType, MultipleNodeKindTest, NamedXNodeType, NodeKindType, NodePredicateLambda, NodeTestStar, PortableNamedXNodeType, RootJNodeType, SchemaAttributeType, SchemaElementType, SelectorTest, SpecificJNodeType, XNodeType
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(GNode node)
     
  • Method Details

    • test

      boolean test(GNode node)