@ApplicationScoped public class ContentFunction extends AutoRegisteredLDPathFunction
Constructor and Description |
---|
ContentFunction() |
Modifier and Type | Method and Description |
---|---|
Collection<org.openrdf.model.Value> |
apply(RDFBackend<org.openrdf.model.Value> kiWiNodeRDFBackend,
org.openrdf.model.Value context,
Collection<org.openrdf.model.Value>... 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 representation of the NodeFunction or NodeSelector in the RDF Path Language
|
String |
getSignature()
A string describing the signature of this node function, e.g.
|
void |
initialise() |
getPathExpression
@PostConstruct public void initialise()
public Collection<org.openrdf.model.Value> apply(RDFBackend<org.openrdf.model.Value> kiWiNodeRDFBackend, org.openrdf.model.Value context, Collection<org.openrdf.model.Value>... args) throws IllegalArgumentException
context
- the context of the execution. Same as using the
NodeSelector
'.' as parameter.args
- a nested list of KiWiNodesIllegalArgumentException
public String getLocalName()
getLocalName
in class AutoRegisteredLDPathFunction
public String getSignature()
public String getDescription()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.