public abstract class NodeTest<Node> extends Object implements NodeFunction<Boolean,Node>
Constructor and Description |
---|
NodeTest() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
accept(RDFBackend<Node> backend,
Node context,
Node candidate) |
Boolean |
apply(RDFBackend<Node> backend,
Node context,
Collection<Node>... args)
Apply the function to the list of nodes passed as arguments and return the result as type T.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getSignature
getPathExpression
@SafeVarargs public final Boolean apply(RDFBackend<Node> backend, Node context, Collection<Node>... args) throws IllegalArgumentException
NodeFunction
apply
in interface NodeFunction<Boolean,Node>
context
- the context of the execution. Same as using the
NodeSelector
'.' as parameter.args
- a nested list of KiWiNodesIllegalArgumentException
public abstract boolean accept(RDFBackend<Node> backend, Node context, Node candidate) throws IllegalArgumentException
IllegalArgumentException
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.