org.deegree.filter.function.other
Class IMod

java.lang.Object
  extended by org.deegree.filter.function.other.IMod
All Implemented Interfaces:
FunctionProvider

public class IMod
extends Object
implements FunctionProvider

Expects two arguments corresponding to two single values.

Version:
$Revision: 31924 $, $Date: 2011-09-19 15:38:53 +0200 (Mon, 19 Sep 2011) $
Author:
Andreas Schmitz, last edited by: $Author: mschneider $

Constructor Summary
IMod()
           
 
Method Summary
 Function create(List<Expression> params)
          Creates a new Function instance.
 void destroy()
          Called by FunctionManager once when this FunctionProvider is being taken out of service.
 List<ParameterType> getArgs()
          Returns the type information for the inputs of the provided function.
 String getName()
          Returns the name of the provided function.
 ParameterType getReturnType()
          Returns the type information for the output of the provided function.
 void init(DeegreeWorkspace ws)
          Called by FunctionManager once when this FunctionProvider is being taken into service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IMod

public IMod()
Method Detail

getName

public String getName()
Description copied from interface: FunctionProvider
Returns the name of the provided function.

Specified by:
getName in interface FunctionProvider
Returns:
the name of the provided function, never null

getArgs

public List<ParameterType> getArgs()
Description copied from interface: FunctionProvider
Returns the type information for the inputs of the provided function.

Specified by:
getArgs in interface FunctionProvider
Returns:
type information for the inputs, can be empty, but never null

getReturnType

public ParameterType getReturnType()
Description copied from interface: FunctionProvider
Returns the type information for the output of the provided function.

Specified by:
getReturnType in interface FunctionProvider
Returns:
type information for the output, never null

create

public Function create(List<Expression> params)
Description copied from interface: FunctionProvider
Creates a new Function instance.

Specified by:
create in interface FunctionProvider
Parameters:
params - params for the new function, may be empty, but never null
Returns:
the new function instance, never null

init

public void init(DeegreeWorkspace ws)
          throws ResourceInitException
Description copied from interface: FunctionProvider
Called by FunctionManager once when this FunctionProvider is being taken into service.

Specified by:
init in interface FunctionProvider
Parameters:
ws - workspace context, never null
Throws:
ResourceInitException - if the initialization fails

destroy

public void destroy()
Description copied from interface: FunctionProvider
Called by FunctionManager once when this FunctionProvider is being taken out of service.

Specified by:
destroy in interface FunctionProvider


Copyright © 2011. All Rights Reserved.