com.unitesk.atp.text.generation
Interface Function

All Known Implementing Classes:
DefaultFunction, PatternDefaultFunction, TextGeneratorClient, TextGeneratorVisitor, TreeDefaultFunction

public interface Function

Interface of text generator function.

Version:
$Id: Function.java,v 1.1 2004/10/09 06:38:29 all-x Exp $
Author:
Alexey Demakov

Method Summary
 void process(Object arg)
          Processes the specified object.
 void setGenerator(Generator gen)
          Associates or deassociates this function with text generator.
 

Method Detail

setGenerator

void setGenerator(Generator gen)
Associates or deassociates this function with text generator.

Parameters:
gen - The specified text generator. If it is not null - associate function with this text generator, otherwise deassociate.

process

void process(Object arg)
Processes the specified object.

Parameters:
arg - The specified object.


Copyright © 2001-2006 ISP RAS, RedVerst Group. All Rights Reserved.