com.hp.hpl.jena.sparql.pfunction.library
Class strSplit

java.lang.Object
  extended by com.hp.hpl.jena.sparql.pfunction.PropertyFunctionBase
      extended by com.hp.hpl.jena.sparql.pfunction.PropertyFunctionEval
          extended by com.hp.hpl.jena.sparql.pfunction.PFuncSimpleAndList
              extended by com.hp.hpl.jena.sparql.pfunction.library.strSplit
All Implemented Interfaces:
PropertyFunction

public class strSplit
extends PFuncSimpleAndList

Property function that requires the subject to be unbound, and the object to contain a list of two items, the first of which is a string to be split, and the second is a regular expression denoting the split point. The subject variable is bound for each result of the split, and each result has the whitespace trimmed from it.


Constructor Summary
strSplit()
           
 
Method Summary
 QueryIterator execEvaluated(Binding binding, Node subject, Node predicate, PropFuncArg object, ExecutionContext execCxt)
           
 
Methods inherited from class com.hp.hpl.jena.sparql.pfunction.PFuncSimpleAndList
execEvaluated
 
Methods inherited from class com.hp.hpl.jena.sparql.pfunction.PropertyFunctionEval
exec
 
Methods inherited from class com.hp.hpl.jena.sparql.pfunction.PropertyFunctionBase
build, exec
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

strSplit

public strSplit()
Method Detail

execEvaluated

public QueryIterator execEvaluated(Binding binding,
                                   Node subject,
                                   Node predicate,
                                   PropFuncArg object,
                                   ExecutionContext execCxt)
Specified by:
execEvaluated in class PFuncSimpleAndList
Parameters:
binding - Current solution from previous query stage
subject - Node in subject slot, after substitution if a bound variable in this binding
predicate - This predicate
object - List in object slot, after substitution if a bound variable in this binding
execCxt - Execution context
Returns:
QueryIterator


Licenced under the Apache License, Version 2.0