Class TL2Java

Class TL2Java

Object
   |
   +----TL2Java

public class TL2Java
extends Object
Program Generator created by TL2Java

Version:
Fri Feb 09 11:13:01 EST 2001

Variable Index

 o history
This array provides program generator development history
 o version

Constructor Index

 o TL2Java()

Method Index

 o generate(XPathContext, ProgramWriter)
This method generates the output given a context and output stream
 o generate2(XPathContext, ProgramWriter)
This method generates code for the different TL constructs
 o getClassName(String)
Get the class name of the program generator from the command line.
 o main(String[])
A program generator is typically (but not always) invoked with a command line with arguments for the XML input file and output file.
 o quoteString(String)
Add quotes and convert new lines, tabs quotes
 o strip(String)
Remove trailing whitespace characters.

Variables

 o history
public java.lang.String[][] history
This array provides program generator development history

 o version
public java.lang.String version

Constructors

 o TL2Java
public TL2Java()

Methods

 o generate
public boolean generate(XPathContext context,
                        ProgramWriter out)
This method generates the output given a context and output stream

 o generate2
public boolean generate2(XPathContext context,
                         ProgramWriter out)
This method generates code for the different TL constructs

 o getClassName
public java.lang.String getClassName(String className)
Get the class name of the program generator from the command line.

 o main
public static void main(String[] args)
A program generator is typically (but not always) invoked with a command line with arguments for the XML input file and output file.

 o quoteString
public java.lang.String quoteString(String t)
Add quotes and convert new lines, tabs quotes

 o strip
public java.lang.String strip(String t)
Remove trailing whitespace characters.