com.hp.hpl.jena.sparql.engine.binding
Class BindingMap

java.lang.Object
  extended by com.hp.hpl.jena.sparql.engine.binding.BindingBase
      extended by com.hp.hpl.jena.sparql.engine.binding.BindingMap
All Implemented Interfaces:
Binding

public class BindingMap
extends BindingBase

A mapping from a name to a value such that we can create a tree of levels with higher (earlier levels) being shared. Looking up a name is done by looking in the current level, then trying the parent is not found.


Constructor Summary
BindingMap()
          Using BindingFcatory.create is better
BindingMap(Binding parent)
          Using BindingFcatory.create is better
 
Method Summary
 boolean contains1(Var var)
           
 com.hp.hpl.jena.graph.Node get1(Var var)
           
 java.util.Iterator<Var> vars1()
          Iterate over all the names of variables.
 
Methods inherited from class com.hp.hpl.jena.sparql.engine.binding.BindingBase
add, addAll, contains, equals, equals, format1, get, getParent, hashCode, hashCode, isEmpty, size, toString, toString1, vars
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BindingMap

public BindingMap(Binding parent)
Using BindingFcatory.create is better


BindingMap

public BindingMap()
Using BindingFcatory.create is better

Method Detail

vars1

public java.util.Iterator<Var> vars1()
Iterate over all the names of variables.


contains1

public boolean contains1(Var var)

get1

public com.hp.hpl.jena.graph.Node get1(Var var)


Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.