public class ClassGenerator
extends org.apache.bcel.generic.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.
|
org.apache.bcel.generic.Instruction |
loadTranslet() |
addAttribute, addEmptyConstructor, addField, addInterface, addMethod, addObserver, clone, containsField, containsField, containsMethod, getAttributes, getClassNameIndex, getConstantPool, getFields, getFileName, getInterfaceNames, getInterfaces, getJavaClass, getMajor, getMethodAt, getMethods, getMinor, getSuperclassName, getSuperclassNameIndex, removeAttribute, removeField, removeInterface, removeMethod, removeObserver, replaceField, replaceMethod, setClassName, setClassNameIndex, setConstantPool, setMajor, setMethodAt, setMethods, setMinor, setSuperclassName, setSuperclassNameIndex, updategetAccessFlags, isAbstract, isAbstract, isFinal, isFinal, isInterface, isInterface, isNative, isNative, isPrivate, isPrivate, isProtected, isProtected, isPublic, isPublic, isStatic, isStatic, isStrictfp, isStrictfp, isSynchronized, isSynchronized, isTransient, isTransient, isVolatile, isVolatile, setAccessFlagsprotected 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()
getClassName in class org.apache.bcel.generic.ClassGenpublic org.apache.bcel.generic.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 © 2012 JBoss by Red Hat. All Rights Reserved.