com.hp.hpl.jena.graph.query
Class QueryNode.Fixed

java.lang.Object
  extended by com.hp.hpl.jena.graph.query.QueryNode
      extended by com.hp.hpl.jena.graph.query.QueryNode.Fixed
Enclosing class:
QueryNode

public static class QueryNode.Fixed
extends QueryNode


Nested Class Summary
 
Nested classes/interfaces inherited from class com.hp.hpl.jena.graph.query.QueryNode
QueryNode.Any, QueryNode.Bind, QueryNode.Bound, QueryNode.Fixed, QueryNode.JustBound, QueryNode.MustNotMatchException
 
Field Summary
 
Fields inherited from class com.hp.hpl.jena.graph.query.QueryNode
factory, index, NO_INDEX, node
 
Constructor Summary
QueryNode.Fixed(Node n)
           
 
Method Summary
 Node finder(Domain d)
          Answer a Node value to use when this QueryValue is used to select objects in a Graph::find() operation; for concrete nodes, that very node, for variables their current value (ANY if not bound).
 boolean matchOrBind(Domain d, Node x)
          Optimisation: the action to be performed when matching a just-bound variable or binding a newly-bound variable, or nothing for any other kind of QueryNode.
 String toString()
          Return a handy string representation for debugging purposes.
 
Methods inherited from class com.hp.hpl.jena.graph.query.QueryNode
classify, isFrozen, match, mustMatch
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryNode.Fixed

public QueryNode.Fixed(Node n)
Method Detail

finder

public Node finder(Domain d)
Description copied from class: QueryNode
Answer a Node value to use when this QueryValue is used to select objects in a Graph::find() operation; for concrete nodes, that very node, for variables their current value (ANY if not bound).

Overrides:
finder in class QueryNode

matchOrBind

public boolean matchOrBind(Domain d,
                           Node x)
Description copied from class: QueryNode
Optimisation: the action to be performed when matching a just-bound variable or binding a newly-bound variable, or nothing for any other kind of QueryNode.

Specified by:
matchOrBind in class QueryNode

toString

public String toString()
Description copied from class: QueryNode
Return a handy string representation for debugging purposes. Not for machine consumption.

Overrides:
toString in class QueryNode


Licenced under the Apache License, Version 2.0