org.apache.xalan.xsltc.compiler.util
Class ClassGenerator
public
class
ClassGenerator
extends ClassGen
The class that implements any class that inherits from
AbstractTranslet, i.e. any translet. Methods in this
class may be of the following kinds:
1. Main method: applyTemplates, implemented by intances of
MethodGenerator.
2. Named methods: for named templates, implemented by instances
of
NamedMethodGenerator.
3. Rt methods: for result tree fragments, implemented by
instances of
RtMethodGenerator.
Author: Jacek Ambroziak Santiago Pericas-Geertsen
public ClassGenerator(String class_name, String super_class_name, String file_name, int access_flags, String[] interfaces,
Stylesheet stylesheet)
public final String getApplyTemplatesSig()
public final String getApplyTemplatesSigForImport()
public final String getClassName()
Pretend this is the stylesheet class. Useful when compiling
references to global variables inside a predicate.
public final String getDOMClass()
public final String getDOMClassSig()
public final
Parser getParser()
public boolean isExternal()
Returns true or false depending on whether
this class inherits from AbstractTranslet or not.
public Instruction loadTranslet()
Copyright © 2005 Apache XML Project. All Rights Reserved.