Node - public class XPathFunction<Node> extends SelectorFunction<Node>
| Constructor and Description |
|---|
XPathFunction() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Node> |
apply(RDFBackend<Node> rdfBackend,
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 |
getLocalName()
Return the name of the NodeFunction for registration in the function registry
|
String |
getSignature()
A string describing the signature of this node function, e.g.
|
getPathExpressionpublic Collection<Node> apply(RDFBackend<Node> rdfBackend, Node context, Collection<Node>... args) throws IllegalArgumentException
args - a nested list of KiWiNodescontext - the context of the execution. Same as using the
NodeSelector '.' as parameter.IllegalArgumentExceptionpublic String getLocalName()
getLocalName in class SelectorFunction<Node>public String getSignature()
public String getDescription()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.