java.lang.Object
org.apache.jena.graph.Node
org.apache.jena.graph.Node_Ext<String>
fr.mines_stetienne.ci.sparql_generate.graph.Node_Extended
fr.mines_stetienne.ci.sparql_generate.graph.Node_Expr
All Implemented Interfaces:
Serializable

public class Node_Expr extends Node_Extended
The class of expression nodes of type ?{ <expr> }, or ${ <expr> }. They can be used anywhere variables are legal, and they bind a (implicit) variable to the given SPARQL expression.
Author:
Maxime Lefrançois
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.jena.graph.Node

    org.apache.jena.graph.Node.NotLiteral
  • Field Summary

    Fields inherited from class org.apache.jena.graph.Node

    ANY, hashANY, hashBNode, hashExt, hashNodeTriple, hashURI, hashVariable, noLangTag, noTextDirection
  • Constructor Summary

    Constructors
    Constructor
    Description
    Node_Expr(org.apache.jena.sparql.expr.Expr expr)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    org.apache.jena.sparql.expr.Expr
    The SPARQL expression specified in this node.
    int
     
    visitWith(org.apache.jena.graph.NodeVisitor v)

    Methods inherited from class fr.mines_stetienne.ci.sparql_generate.graph.Node_Extended

    getLabel, toString, toString

    Methods inherited from class org.apache.jena.graph.Node_Ext

    get, isConcrete, isExt

    Methods inherited from class org.apache.jena.graph.Node

    getBlankNodeLabel, getGraph, getIndexingValue, getLiteral, getLiteralBaseDirection, getLiteralDatatype, getLiteralDatatypeURI, getLiteralLanguage, getLiteralLexicalForm, getLiteralValue, getLocalName, getName, getNameSpace, getTriple, getURI, hasURI, isBlank, isLiteral, isNodeGraph, isNodeTriple, isTripleTerm, isURI, isVariable, matches, sameTermAs, sameValueAs, writeReplace

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Node_Expr

      public Node_Expr(org.apache.jena.sparql.expr.Expr expr)
      Constructor
      Parameters:
      expr - The SPARQL expression specified in this node.
  • Method Details

    • getExpr

      public org.apache.jena.sparql.expr.Expr getExpr()
      The SPARQL expression specified in this node.
      Returns:
    • visitWith

      public Object visitWith(org.apache.jena.graph.NodeVisitor v)
      Overrides:
      visitWith in class org.apache.jena.graph.Node_Ext<String>
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class org.apache.jena.graph.Node_Ext<String>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class org.apache.jena.graph.Node_Ext<String>