java.lang.Object
org.apache.jena.sparql.service.enhancer.impl.util.PropFuncArgUtils

public class PropFuncArgUtils extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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
    static 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.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PropFuncArgUtils

      public PropFuncArgUtils()
  • Method Details

    • nodeToList

      public static 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. 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