org.apache.jena.sparql.syntax.ElementService Java Examples

The following examples show how to use org.apache.jena.sparql.syntax.ElementService. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: QueryPatternNormalizer.java    From sparql-generate with Apache License 2.0 5 votes vote down vote up
@Override
public void visit(ElementService el) {
    final NodeExprNormalizer nenzer = new NodeExprNormalizer();
    el.getServiceNode().visitWith(nenzer);
    Node serviceNode = nenzer.getResult();
    el.getElement().visit(this);
    endVisit(new ElementService(serviceNode, result, el.getSilent()), nenzer);
}
 
Example #2
Source File: SPARQLExtFormatterElement.java    From sparql-generate with Apache License 2.0 5 votes vote down vote up
@Override
public void visit(ElementService el) {
    String x = "SERVICE";
    if (el.getSilent()) {
        x = "SERVICE SILENT";
    }
    visitNodePattern(x, el.getServiceNode(), el.getElement());
}
 
Example #3
Source File: OutputClauseNormalizer.java    From sparql-generate with Apache License 2.0 4 votes vote down vote up
@Override
public void visit(ElementService el) {
    LOG.warn("Should not reach this point");
}
 
Example #4
Source File: OutputClauseNormalizer.java    From sparql-generate with Apache License 2.0 4 votes vote down vote up
@Override
public void visit(ElementService el) {
    LOG.warn("Should not reach this point");
}
 
Example #5
Source File: SPARQLExtElementVisitorBase.java    From sparql-generate with Apache License 2.0 4 votes vote down vote up
@Override
public void visit(ElementService el) {
}
 
Example #6
Source File: FindAllVariables.java    From quetzal with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public void visit(ElementService e) {
	e.getElement().visit(this);
	addVar(e.getServiceNode());
}