org.openrdf.query.algebra.evaluation.function
Class BooleanCast

java.lang.Object
  extended by org.openrdf.query.algebra.evaluation.function.BooleanCast
All Implemented Interfaces:
Function

public class BooleanCast
extends Object
implements Function

A Function that tries to cast its argument to an xsd:boolean.

Author:
Arjohn Kampman

Constructor Summary
BooleanCast()
           
 
Method Summary
 Literal evaluate(ValueFactory valueFactory, Value... args)
           
 String getURI()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanCast

public BooleanCast()
Method Detail

getURI

public String getURI()
Specified by:
getURI in interface Function

evaluate

public Literal evaluate(ValueFactory valueFactory,
                        Value... args)
                 throws ValueExprEvaluationException
Specified by:
evaluate in interface Function
Throws:
ValueExprEvaluationException


Copyright © 2001-2008 Aduna. All Rights Reserved.