Codota Logo
ElementNamedGraph
Code IndexAdd Codota to your IDE (free)

How to use
ElementNamedGraph
in
com.hp.hpl.jena.sparql.syntax

Best Java code snippets using com.hp.hpl.jena.sparql.syntax.ElementNamedGraph (Showing top 20 results out of 315)

  • Common ways to obtain ElementNamedGraph
private void myMethod () {
ElementNamedGraph e =
  • Codota IconNode n;Element el;new ElementNamedGraph(n, el)
  • Smart code suggestions by Codota
}
origin: Quetzal-RDF/quetzal

@Override
public void visit(ElementNamedGraph ng) {
  Element elt = ng.getElement();
  elt.visit(this);
  elt = result;
  Node n = ng.getGraphNameNode();
  if ( n == null) {
    result = new ElementNamedGraph(elt);
  } else {
    result = new ElementNamedGraph(n, elt);
  }
  
}
origin: org.apache.clerezza.ext/org.apache.jena.jena-arq

@Override
public void visit(ElementNamedGraph el)
{
  visitNodePattern("GRAPH", el.getGraphNameNode(), el.getElement()) ;
}
origin: com.hp.hpl.jena/arq

final public Element GraphGraphPattern() throws ParseException {
               Element el ; Node n ;
 jj_consume_token(GRAPH);
 n = VarOrIRIref();
 el = GroupGraphPattern();
  {if (true) return new ElementNamedGraph(n, el) ;}
 throw new Error("Missing return statement in function");
}
origin: fr.inria.eventcloud/eventcloud-core

  @Override
  public void visit(ElementNamedGraph el) {
    if (!el.getGraphNameNode().isVariable()) {
      throw new IllegalArgumentException(
          "The specified subscription does not have a graph variable: "
              + el.getGraphNameNode());
    }
    graphNode.setValue(el.getGraphNameNode());
  }
});
origin: com.hp.hpl.jena/arq

public void visit(ElementNamedGraph el)
{
  if ( el.getElement() != null )
    el.getElement().visit(this) ;
  proc.visit(el) ;
}
origin: com.hp.hpl.jena/arq

public void visit(ElementNamedGraph el)
{
  visitNodePattern("GRAPH", el.getGraphNameNode(), el.getElement()) ;
}
origin: org.apache.clerezza.ext/org.apache.jena.jena-arq

final public Element GraphGraphPattern() throws ParseException {
               Element el ; Node n ;
 jj_consume_token(GRAPH);
 n = VarOrIRIref();
 el = GroupGraphPattern();
  {if (true) return new ElementNamedGraph(n, el) ;}
 throw new Error("Missing return statement in function");
}
origin: org.apache.clerezza.ext/org.apache.jena.jena-arq

@Override
public void visit(ElementNamedGraph el)
{
  VarUtils.addVar(acc, el.getGraphNameNode()) ;
}
origin: org.apache.clerezza.ext/org.apache.jena.jena-arq

@Override
public void visit(ElementNamedGraph el)
{
  before(el) ;
  if ( el.getElement() != null )
    el.getElement().visit(this) ;
  proc.visit(el) ;
  after(el) ;
}
origin: Quetzal-RDF/quetzal

@Override
public void visit(ElementNamedGraph ng) {
  Node n = ng.getGraphNameNode();
  Element e = ng.getElement();
  e.visit(this);
  if (n==null) {
    result = new ElementNamedGraph(result);
  } else {
    result = new ElementNamedGraph(n, result);
  }
}
@Override
origin: com.hp.hpl.jena/arq

@Override
public boolean equalTo(Element el2, NodeIsomorphismMap isoMap)
{
  if ( el2 == null ) return false ;
  if ( ! ( el2 instanceof ElementNamedGraph ) ) 
    return false ;
  ElementNamedGraph g2 = (ElementNamedGraph)el2 ;
  if ( ! this.getGraphNameNode().equals(g2.getGraphNameNode()) )
    return false ;
  if ( ! this.getElement().equalTo(g2.getElement(), isoMap) )
    return false ;
  return true ;
}
origin: org.apache.clerezza.ext/org.apache.jena.jena-arq

final public Element GraphGraphPattern() throws ParseException {
               Element el ; Node n ;
 jj_consume_token(GRAPH);
 n = VarOrIri();
 el = GroupGraphPattern();
  {if (true) return new ElementNamedGraph(n, el) ;}
 throw new Error("Missing return statement in function");
}
origin: com.hp.hpl.jena/arq

@Override
public void visit(ElementNamedGraph el)
{
  VarUtils.addVar(acc, el.getGraphNameNode()) ;
}
origin: com.hp.hpl.jena/arq

public final void visit(ElementNamedGraph el)
{
  startElement(el) ;
  el.getElement().visit(this) ;
  endElement(el) ;
}
origin: Quetzal-RDF/quetzal

@Override
public void visit(ElementNamedGraph ng) {
  Element elt = ng.getElement();
  elt.visit(this);
  elt = result;
  Node n = ng.getGraphNameNode();
  if ( n == null) {
    result = new ElementNamedGraph(elt);
  } else {
    result = new ElementNamedGraph(n, elt);
  }
  
}
origin: org.apache.clerezza.ext/org.apache.jena.jena-arq

@Override
public boolean equalTo(Element el2, NodeIsomorphismMap isoMap)
{
  if ( el2 == null ) return false ;
  if ( ! ( el2 instanceof ElementNamedGraph ) ) 
    return false ;
  ElementNamedGraph g2 = (ElementNamedGraph)el2 ;
  if ( ! this.getGraphNameNode().equals(g2.getGraphNameNode()) )
    return false ;
  if ( ! this.getElement().equalTo(g2.getElement(), isoMap) )
    return false ;
  return true ;
}
origin: com.hp.hpl.jena/arq

final public Element GraphGraphPattern() throws ParseException {
               Element el ; Node n ;
 jj_consume_token(GRAPH);
 n = VarOrIRIref();
 el = GroupGraphPattern();
  {if (true) return new ElementNamedGraph(n, el) ;}
 throw new Error("Missing return statement in function");
}
origin: org.apache.clerezza.ext/org.apache.jena.jena-arq

@Override
public final void visit(ElementNamedGraph el)
{
  startElement(el) ;
  el.getElement().visit(this) ;
  endElement(el) ;
}
origin: Quetzal-RDF/quetzal

@Override
public void visit(ElementNamedGraph ng) {
  Node n = ng.getGraphNameNode();
  Element e = ng.getElement();
  e.visit(this);
  if (n==null) {
    result = new ElementNamedGraph(result);
  } else {
    result = new ElementNamedGraph(n, result);
  }
}
origin: Quetzal-RDF/quetzal

@Override
public void visit(ElementNamedGraph e) {
  e.getElement().visit(this);
  addVar(e.getGraphNameNode());
}
com.hp.hpl.jena.sparql.syntaxElementNamedGraph

Javadoc

Evaluate a query element based on source information in a named collection.

Most used methods

  • getGraphNameNode
  • <init>
  • getElement

Popular in Java

  • Reactive rest calls using spring rest template
  • getExternalFilesDir (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • getContentResolver (Context)
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now