com.hp.hpl.jena.rdql
Class WorkingVar

java.lang.Object
  extended bycom.hp.hpl.jena.rdql.parser.SimpleNode
      extended bycom.hp.hpl.jena.rdql.parser.ParsedLiteral
          extended bycom.hp.hpl.jena.rdql.WorkingVar
All Implemented Interfaces:
java.lang.Cloneable, com.hp.hpl.jena.rdql.parser.Expr, com.hp.hpl.jena.rdql.parser.Node, Printable, Settable, Value

public class WorkingVar
extends com.hp.hpl.jena.rdql.parser.ParsedLiteral
implements Value, Printable, Settable, java.lang.Cloneable

Working variables are settable values for holding intermediate results.


Constructor Summary
WorkingVar()
           
WorkingVar(Value v)
           
 
Method Summary
 double getDouble()
           
 long getInt()
           
 boolean isDouble()
           
 boolean isInt()
           
 boolean isNumber()
           
 
Methods inherited from class com.hp.hpl.jena.rdql.parser.ParsedLiteral
asInfixString, asPrefixString, asQuotedString, asUnquotedString, eval, getBoolean, getRDFLiteral, getRDFResource, getString, getURI, isBoolean, isRDFLiteral, isRDFResource, isSet, isString, isURI, makeString, makeURI, print, setBoolean, setDouble, setInt, setRDFLiteral, setRDFResource, setString, setURI, toString, valueString
 
Methods inherited from class com.hp.hpl.jena.rdql.parser.SimpleNode
dump, fixup, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hp.hpl.jena.rdql.Value
asQuotedString, asUnquotedString, getBoolean, getRDFLiteral, getRDFResource, getString, getURI, isBoolean, isRDFLiteral, isRDFResource, isString, isURI, toString, valueString
 
Methods inherited from interface com.hp.hpl.jena.rdql.Printable
asInfixString, asPrefixString, print
 
Methods inherited from interface com.hp.hpl.jena.rdql.Settable
setBoolean, setDouble, setInt, setRDFLiteral, setRDFResource, setString, setURI
 

Constructor Detail

WorkingVar

public WorkingVar()

WorkingVar

public WorkingVar(Value v)
Method Detail

isNumber

public boolean isNumber()
Specified by:
isNumber in interface Value

isInt

public boolean isInt()
Specified by:
isInt in interface Value

isDouble

public boolean isDouble()
Specified by:
isDouble in interface Value

getInt

public long getInt()
Specified by:
getInt in interface Value

getDouble

public double getDouble()
Specified by:
getDouble in interface Value


Copyright © 2001-2003 Hewlett-Packard. All Rights Reserved.