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, waitgetDescription, getSignaturegetPathExpression@SafeVarargs public final Boolean apply(RDFBackend<Node> backend, Node context, Collection<Node>... args) throws IllegalArgumentException
NodeFunctionapply in interface NodeFunction<Boolean,Node>context - the context of the execution. Same as using the
NodeSelector '.' as parameter.args - a nested list of KiWiNodesIllegalArgumentExceptionpublic abstract boolean accept(RDFBackend<Node> backend, Node context, Node candidate) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.