com.hp.hpl.jena.sparql.function.user
Class ExprTransformExpand

java.lang.Object
  extended by com.hp.hpl.jena.sparql.expr.ExprTransformCopy
      extended by com.hp.hpl.jena.sparql.function.user.ExprTransformExpand
All Implemented Interfaces:
ExprTransform

public class ExprTransformExpand
extends ExprTransformCopy

An expression transformer that will expand user defined function expressions so they do not explicitly rely on other user defined functions.

See UserDefinedFunctionFactory.getPreserveDependencies() for discussion of what this means in practise


Field Summary
 
Fields inherited from class com.hp.hpl.jena.sparql.expr.ExprTransformCopy
COPY_ALWAYS, COPY_ONLY_ON_CHANGE
 
Constructor Summary
ExprTransformExpand(Map<String,UserDefinedFunctionDefinition> defs)
          Creates a new transformer
 
Method Summary
 Expr transform(ExprFunctionN func, ExprList args)
           
 
Methods inherited from class com.hp.hpl.jena.sparql.expr.ExprTransformCopy
transform, transform, transform, transform, transform, transform, transform, transform
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExprTransformExpand

public ExprTransformExpand(Map<String,UserDefinedFunctionDefinition> defs)
Creates a new transformer

Parameters:
defs - User defined function definitions
Method Detail

transform

public Expr transform(ExprFunctionN func,
                      ExprList args)
Specified by:
transform in interface ExprTransform
Overrides:
transform in class ExprTransformCopy


Licenced under the Apache License, Version 2.0