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.
|
getPathExpression
T 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 KiWiNodesIllegalArgumentException
String getSignature()
String getDescription()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.