org.openrdf.sesame.sail.query
Class LiteralExpr

java.lang.Object
  extended byorg.openrdf.sesame.sail.query.LiteralExpr
All Implemented Interfaces:
StringExpr, ValueExpr

public class LiteralExpr
extends Object
implements ValueExpr


Constructor Summary
LiteralExpr(Literal lit)
           
 
Method Summary
 String getString()
          Gets the String value for this expression.
 Value getValue()
          Gets the value of this expression.
 void getVariables(Collection variables)
          Gets all variables that are used in this StringExpr.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LiteralExpr

public LiteralExpr(Literal lit)
Method Detail

getValue

public Value getValue()
Description copied from interface: ValueExpr
Gets the value of this expression.

Specified by:
getValue in interface ValueExpr

getString

public String getString()
Description copied from interface: StringExpr
Gets the String value for this expression.

Specified by:
getString in interface StringExpr

getVariables

public void getVariables(Collection variables)
Description copied from interface: StringExpr
Gets all variables that are used in this StringExpr.

Specified by:
getVariables in interface StringExpr
Parameters:
variables - a Collection to add relevant Var objects to.

toString

public String toString()


Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.