Class PropFuncArgUtils
java.lang.Object
org.apache.jena.sparql.service.enhancer.impl.util.PropFuncArgUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<org.apache.jena.graph.Node>
getAsList
(org.apache.jena.sparql.pfunction.PropFuncArg arg) Return a list also if the given argument holds a single Nodestatic List<org.apache.jena.graph.Node>
nodeToList
(org.apache.jena.graph.Node node) If the argument is neither null nor rdf:nil then the result is a singleton list containing it.
-
Constructor Details
-
PropFuncArgUtils
public PropFuncArgUtils()
-
-
Method Details
-
nodeToList
If the argument is neither null nor rdf:nil then the result is a singleton list containing it. Otherwise an empty list is returned. -
getAsList
public static List<org.apache.jena.graph.Node> getAsList(org.apache.jena.sparql.pfunction.PropFuncArg arg) Return a list also if the given argument holds a single Node
-