com.unitesk.atp.tree.generation
Class TextGeneratorVisitor

java.lang.Object
  extended by com.unitesk.atp.tree.generation.TextGeneratorClient
      extended by com.unitesk.atp.tree.generation.TextGeneratorVisitor
All Implemented Interfaces:
Function, Generator, TextGenerator, Visitor

public abstract class TextGeneratorVisitor
extends TextGeneratorClient
implements Visitor

The base visitor implementing interface of text generation. Delegates all text generation processing to underlying TextGeneratorServer that can be shared between several visitors.

Version:
$Id: TextGeneratorVisitor.java,v 1.2 2005/07/17 19:35:17 all-x Exp $
Author:
Alexey Demakov

Field Summary
 
Fields inherited from class com.unitesk.atp.tree.generation.TextGeneratorClient
server
 
Fields inherited from interface com.unitesk.atp.tree.generation.TextGenerator
endl
 
Fields inherited from interface com.unitesk.atp.text.generation.Generator
DEFAULT_NAME
 
Constructor Summary
TextGeneratorVisitor()
           
 
Method Summary
 void visit(Node node)
          Process node.
 
Methods inherited from class com.unitesk.atp.tree.generation.TextGeneratorClient
decIndent, getFunction, getIndent, getNode, getVariable, incIndent, list, nl, popIndent, popNode, process, pushIndent, pushNode, setFunction, setGenerator, setVariable, txt, txtAsIs, txtif, txtif, txtif, txtif
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextGeneratorVisitor

public TextGeneratorVisitor()
Method Detail

visit

public void visit(Node node)
Description copied from class: TextGeneratorClient
Process node.

Specified by:
visit in class TextGeneratorClient


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