com.hp.hpl.jena.sparql.util
Class TranslationTable<X extends Symbol>

java.lang.Object
  extended by com.hp.hpl.jena.sparql.util.TranslationTable<X>

public class TranslationTable<X extends Symbol>
extends java.lang.Object

Maps string to string for use with convenience names.


Constructor Summary
TranslationTable()
          Create a translation table which respects case
TranslationTable(boolean ignoreCase)
          Create a translation table - say whether to ignore case or not
 
Method Summary
 java.util.Iterator<java.lang.String> keys()
           
 X lookup(java.lang.String name)
           
 void put(java.lang.String k, X v)
           
 java.util.Iterator<X> values()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TranslationTable

public TranslationTable()
Create a translation table which respects case


TranslationTable

public TranslationTable(boolean ignoreCase)
Create a translation table - say whether to ignore case or not

Method Detail

lookup

public X lookup(java.lang.String name)

put

public void put(java.lang.String k,
                X v)

keys

public java.util.Iterator<java.lang.String> keys()

values

public java.util.Iterator<X> values()


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