public class ClassGenerator
extends ClassGen
Modifier and Type | Field and Description |
---|---|
protected static int |
TRANSLET_INDEX |
Constructor and Description |
---|
ClassGenerator(String class_name,
String super_class_name,
String file_name,
int access_flags,
String[] interfaces,
Stylesheet stylesheet) |
Modifier and Type | Method and Description |
---|---|
void |
addMethod(MethodGenerator methodGen) |
String |
getApplyTemplatesSig() |
String |
getApplyTemplatesSigForImport() |
String |
getClassName()
Pretend this is the stylesheet class.
|
String |
getDOMClass() |
String |
getDOMClassSig() |
Parser |
getParser() |
Stylesheet |
getStylesheet() |
boolean |
isExternal()
Returns true or false depending on whether
this class inherits from AbstractTranslet or not.
|
Instruction |
loadTranslet() |
protected static final int TRANSLET_INDEX
public ClassGenerator(String class_name, String super_class_name, String file_name, int access_flags, String[] interfaces, Stylesheet stylesheet)
public final Parser getParser()
public final Stylesheet getStylesheet()
public final String getClassName()
public Instruction loadTranslet()
public final String getDOMClass()
public final String getDOMClassSig()
public final String getApplyTemplatesSig()
public final String getApplyTemplatesSigForImport()
public boolean isExternal()
public void addMethod(MethodGenerator methodGen)
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.