Class ElementTransformSubst

java.lang.Object
org.apache.jena.sparql.syntax.syntaxtransform.ElementTransformCopyBase
org.apache.jena.sparql.syntax.syntaxtransform.ElementTransformSubst
All Implemented Interfaces:
ElementTransform

public class ElementTransformSubst extends ElementTransformCopyBase
An ElementTransform which replaces occurrences of a variable with a Node value. Because a Var is a subclass of Node_Variable which is a Node, this includes variable renaming.

This is a transformation on the syntax - all occurrences of a variable are replaced, even if inside sub-select's and not project (which means it is effectively a different variable).