org.topbraid.sparql.functions
Class LocalName

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

public class LocalName
extends com.hp.hpl.jena.sparql.pfunction.PropertyFunctionBase

Assigns the qname of the resource on the right into the variable on the left.

Author:
Holger Knublauch

Constructor Summary
LocalName()
           
 
Method Summary
 void build(com.hp.hpl.jena.sparql.pfunction.PropFuncArg argSubject, com.hp.hpl.jena.graph.Node predicate, com.hp.hpl.jena.sparql.pfunction.PropFuncArg argObject, com.hp.hpl.jena.sparql.engine.ExecutionContext execCxt)
           
 com.hp.hpl.jena.sparql.engine.QueryIterator exec(com.hp.hpl.jena.sparql.engine.binding.Binding binding, com.hp.hpl.jena.sparql.pfunction.PropFuncArg argSubject, com.hp.hpl.jena.graph.Node predicate, com.hp.hpl.jena.sparql.pfunction.PropFuncArg argObject, com.hp.hpl.jena.sparql.engine.ExecutionContext execCxt)
           
 
Methods inherited from class com.hp.hpl.jena.sparql.pfunction.PropertyFunctionBase
exec
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalName

public LocalName()
Method Detail

build

public void build(com.hp.hpl.jena.sparql.pfunction.PropFuncArg argSubject,
                  com.hp.hpl.jena.graph.Node predicate,
                  com.hp.hpl.jena.sparql.pfunction.PropFuncArg argObject,
                  com.hp.hpl.jena.sparql.engine.ExecutionContext execCxt)
Specified by:
build in interface com.hp.hpl.jena.sparql.pfunction.PropertyFunction
Overrides:
build in class com.hp.hpl.jena.sparql.pfunction.PropertyFunctionBase

exec

public com.hp.hpl.jena.sparql.engine.QueryIterator exec(com.hp.hpl.jena.sparql.engine.binding.Binding binding,
                                                        com.hp.hpl.jena.sparql.pfunction.PropFuncArg argSubject,
                                                        com.hp.hpl.jena.graph.Node predicate,
                                                        com.hp.hpl.jena.sparql.pfunction.PropFuncArg argObject,
                                                        com.hp.hpl.jena.sparql.engine.ExecutionContext execCxt)
Specified by:
exec in class com.hp.hpl.jena.sparql.pfunction.PropertyFunctionBase