congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ElementNamedGraph
Code IndexAdd Tabnine 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)

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

@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 = 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

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 = 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

  • Making http requests using okhttp
  • runOnUiThread (Activity)
  • onRequestPermissionsResult (Fragment)
  • getResourceAsStream (ClassLoader)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Collectors (java.util.stream)
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now