Class ElementTransformer
- java.lang.Object
-
- org.apache.jena.sparql.syntax.syntaxtransform.ElementTransformer
-
public class ElementTransformer extends java.lang.ObjectA bottom-up application of a transformation of SPARQL syntax Elements. QueryTransformOps.transform(org.apache.jena.query.Query, java.util.Map<org.apache.jena.sparql.core.Var, ? extends org.apache.jena.graph.Node>) provides the mechanism to apply to a Query.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ElementTransformerget()Get the current transformerstatic voidset(ElementTransformer value)Set the current transformer - use with carestatic Elementtransform(Element element, ElementTransform transform)Transform an algebra expressionstatic Elementtransform(Element element, ElementTransform transform, ExprTransform exprTransform)Transformation with specific ElementTransform and ExprTransformstatic Elementtransform(Element element, ElementTransform transform, ExprTransform exprTransform, ElementVisitor beforeVisitor, ElementVisitor afterVisitor)
-
-
-
Method Detail
-
get
public static ElementTransformer get()
Get the current transformer
-
set
public static void set(ElementTransformer value)
Set the current transformer - use with care
-
transform
public static Element transform(Element element, ElementTransform transform)
Transform an algebra expression
-
transform
public static Element transform(Element element, ElementTransform transform, ExprTransform exprTransform)
Transformation with specific ElementTransform and ExprTransform
-
transform
public static Element transform(Element element, ElementTransform transform, ExprTransform exprTransform, ElementVisitor beforeVisitor, ElementVisitor afterVisitor)
-
-