T - the return type of the functionNode - the node type of the function
Author: Sebastian Schaffert public interface NodeFunction<T,Node> extends LDPathConstruct<Node>
| Modifier and Type | Method and Description |
|---|---|
T |
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.
|
String |
getDescription()
A short human-readable description of what the node function does.
|
String |
getSignature()
A string describing the signature of this node function, e.g.
|
getPathExpressionT apply(RDFBackend<Node> backend, Node context, Collection<Node>... args) throws IllegalArgumentException
context - the context of the execution. Same as using the
NodeSelector '.' as parameter.args - a nested list of KiWiNodesIllegalArgumentExceptionString getSignature()
String getDescription()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.