use of org.apache.jena.sparql.modify.UpdateRequestSink in project jena by apache.
the class UpdateFactory method make.
// Worker.
/** Append update operations to a request */
private static void make(UpdateRequest request, String input, String baseURI, Syntax syntax) {
UpdateParser parser = setupParser(request, baseURI, syntax);
parser.parse(new UpdateRequestSink(request), input);
}
use of org.apache.jena.sparql.modify.UpdateRequestSink in project jena by apache.
the class UpdateFactory method make.
/** Append update operations to a request */
private static void make(UpdateRequest request, UsingList usingList, InputStream input, String baseURI, Syntax syntax) {
UpdateParser parser = setupParser(request, baseURI, syntax);
UpdateSink sink = new UsingUpdateSink(new UpdateRequestSink(request), usingList);
try {
parser.parse(sink, input);
} finally {
sink.close();
}
}
Aggregations