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, equals, getAttributes, getClassNameIndex, getComparator, getConstantPool, getFields, getFileName, getInterfaceNames, getInterfaces, getJavaClass, getMajor, getMethodAt, getMethods, getMinor, getSuperclassName, getSuperclassNameIndex, hashCode, removeAttribute, removeField, removeInterface, removeMethod, removeObserver, replaceField, replaceMethod, setClassName, setClassNameIndex, setComparator, setConstantPool, setMajor, setMethodAt, setMethods, setMinor, setSuperclassName, setSuperclassNameIndex, update
getAccessFlags, getModifiers, isAbstract, isAbstract, isAnnotation, isAnnotation, isEnum, isEnum, isFinal, isFinal, isInterface, isInterface, isNative, isNative, isPrivate, isPrivate, isProtected, isProtected, isPublic, isPublic, isStatic, isStatic, isStrictfp, isStrictfp, isSynchronized, isSynchronized, isSynthetic, isSynthetic, isTransient, isTransient, isVolatile, isVolatile, setAccessFlags, setModifiers
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()
getClassName
in class org.apache.bcel.generic.ClassGen
public 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 © 2019 JBoss by Red Hat. All rights reserved.