org.topbraid.sparql.functions
Class LocalRangeFunction

java.lang.Object
  extended by com.hp.hpl.jena.sparql.pfunction.PropertyFunctionBase
      extended by org.topbraid.sparql.functions.AbstractClassPropertyFunction
          extended by org.topbraid.sparql.functions.LocalRangeFunction
All Implemented Interfaces:
com.hp.hpl.jena.sparql.pfunction.PropertyFunction

public class LocalRangeFunction
extends AbstractClassPropertyFunction

Gets the local range of a property at a given class. Syntax: ?range spam:localRange (?cls ?property)

Author:
Holger Knublauch

Constructor Summary
LocalRangeFunction()
           
 
Method Summary
protected  com.hp.hpl.jena.rdf.model.RDFNode getResult(com.hp.hpl.jena.rdf.model.Resource cls, com.hp.hpl.jena.rdf.model.Property property)
           
 
Methods inherited from class org.topbraid.sparql.functions.AbstractClassPropertyFunction
exec
 
Methods inherited from class com.hp.hpl.jena.sparql.pfunction.PropertyFunctionBase
build, exec
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalRangeFunction

public LocalRangeFunction()
Method Detail

getResult

protected com.hp.hpl.jena.rdf.model.RDFNode getResult(com.hp.hpl.jena.rdf.model.Resource cls,
                                                      com.hp.hpl.jena.rdf.model.Property property)
Specified by:
getResult in class AbstractClassPropertyFunction