org.openrdf.rdf2go
Class QueryRowWrapper

java.lang.Object
  extended by org.openrdf.rdf2go.QueryRowWrapper
All Implemented Interfaces:
QueryRow

public class QueryRowWrapper
extends java.lang.Object
implements QueryRow

Wrapper that takes an OpenRDF BindingSet and converts it to a RDF2Go QueryRow.


Constructor Summary
QueryRowWrapper(org.openrdf.query.BindingSet solution)
           
 
Method Summary
 java.lang.String getLiteralValue(java.lang.String varName)
           
 Node getValue(java.lang.String varName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryRowWrapper

public QueryRowWrapper(org.openrdf.query.BindingSet solution)
Method Detail

getValue

public Node getValue(java.lang.String varName)
Specified by:
getValue in interface QueryRow

getLiteralValue

public java.lang.String getLiteralValue(java.lang.String varName)
                                 throws ModelRuntimeException
Specified by:
getLiteralValue in interface QueryRow
Throws:
ModelRuntimeException


Copyright © 2001-2008 FZI. All Rights Reserved.