org.openanzo.glitter.expression.builtin
Class Lang

java.lang.Object
  extended by org.openanzo.glitter.expression.FunctionBase
      extended by org.openanzo.glitter.expression.UnaryFunction
          extended by org.openanzo.glitter.expression.builtin.Lang
All Implemented Interfaces:
Function, FunctionOnValues

public class Lang
extends UnaryFunction

Implements the SPARQL lang function.

Author:
lee

Constructor Summary
Lang()
           
 
Method Summary
 RDFTerm call(RDFTerm arg1)
          An unpackaged version of FunctionOnValues.call(List) that receives the single argument to the function.
 java.net.URI getIdentifier()
           
 
Methods inherited from class org.openanzo.glitter.expression.UnaryFunction
call
 
Methods inherited from class org.openanzo.glitter.expression.FunctionBase
compareBooleans, compareBooleans, compareDateTimes, compareNumerics, compareStringLiterals, operatesOnTypeErrors, operatesOnValues
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openanzo.glitter.expression.Function
operatesOnTypeErrors, operatesOnValues
 

Constructor Detail

Lang

public Lang()
Method Detail

call

public RDFTerm call(RDFTerm arg1)
             throws IncompatibleTypeException
Description copied from class: UnaryFunction
An unpackaged version of FunctionOnValues.call(List) that receives the single argument to the function.

Specified by:
call in class UnaryFunction
Parameters:
arg1 - The single unary argument to the function
Returns:
The return value of the function.
Throws:
IncompatibleTypeException

getIdentifier

public java.net.URI getIdentifier()
Returns:
The identifier for this function


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.