use of org.apache.jena.sparql.serializer.FmtExprSPARQL in project jena by apache.
the class SortCondition method output.
@Override
public void output(IndentedWriter out, SerializationContext sCxt) {
if (sCxt == null)
sCxt = new SerializationContext();
FmtExprSPARQL fmt = new FmtExprSPARQL(out, sCxt);
format(fmt, out);
}
use of org.apache.jena.sparql.serializer.FmtExprSPARQL in project jena by apache.
the class SortCondition method output.
@Override
public void output(IndentedWriter out) {
out.print(Plan.startMarker);
out.print("SortCondition ");
FmtExprSPARQL fmt = new FmtExprSPARQL(out, null);
format(fmt, out);
out.print(Plan.finishMarker);
}
use of org.apache.jena.sparql.serializer.FmtExprSPARQL in project jena by apache.
the class ExprUtils method fmtSPARQL.
public static void fmtSPARQL(IndentedWriter iOut, Expr expr, SerializationContext sCxt) {
FmtExprSPARQL v = new FmtExprSPARQL(iOut, sCxt);
v.format(expr);
}
use of org.apache.jena.sparql.serializer.FmtExprSPARQL in project jena by apache.
the class ExprUtils method fmtSPARQL.
// ExprLists
public static void fmtSPARQL(IndentedWriter iOut, ExprList exprs, SerializationContext pmap) {
FmtExprSPARQL fmt = new FmtExprSPARQL(iOut, pmap);
String sep = "";
for (Expr expr : exprs) {
iOut.print(sep);
sep = " , ";
fmt.format(expr);
}
}
Aggregations