org.apache.xalan.xsltc.compiler.util
Class ClassGenerator
ClassGen
org.apache.xalan.xsltc.compiler.util.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.
- Jacek Ambroziak
- Santiago Pericas-Geertsen
ClassGenerator(String class_name, String super_class_name, String file_name, int access_flags, String[] interfaces, Stylesheet stylesheet)
|
ClassGenerator
public ClassGenerator(String class_name,
String super_class_name,
String file_name,
int access_flags,
String[] interfaces,
Stylesheet stylesheet)
getApplyTemplatesSig
public final String getApplyTemplatesSig()
getClassName
public final String getClassName()
Pretend this is the stylesheet class. Useful when compiling
references to global variables inside a predicate.
getDOMClass
public final String getDOMClass()
getDOMClassSig
public final String getDOMClassSig()
getParser
public final Parser getParser()
getStylesheet
public final Stylesheet getStylesheet()
isExternal
public boolean isExternal()
Returns true or false depending on whether
this class inherits from AbstractTranslet or not.
loadTranslet
public Instruction loadTranslet()
Copyright B) 2004 Apache XML Project. All Rights Reserved.