kryshen.tema
Class Function

java.lang.Object
  extended by kryshen.tema.Function
Direct Known Subclasses:
Define, Hello, ImageConverter

public abstract class Function
extends java.lang.Object

Abstact class for Tema functions.

Author:
Mikhail Kryshen

Constructor Summary
Function()
           
 
Method Summary
abstract  int invoke(FunctionDataParser fdp, java.io.Writer out)
          Invoke the function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Function

public Function()
Method Detail

invoke

public abstract int invoke(FunctionDataParser fdp,
                           java.io.Writer out)
                    throws java.io.IOException,
                           TemplateException
Invoke the function.

Parameters:
fdp - FunctionDataParser to access function arguments.
out - Writer for the function output.
Throws:
java.io.IOException
TemplateException