public final class NodeCounterGenerator extends ClassGenerator
TRANSLET_INDEX
Constructor and Description |
---|
NodeCounterGenerator(String className,
String superClassName,
String fileName,
int accessFlags,
String[] interfaces,
Stylesheet stylesheet) |
Modifier and Type | Method and Description |
---|---|
boolean |
isExternal()
Returns true since this class is external to the
translet.
|
org.apache.bcel.generic.Instruction |
loadTranslet()
The index of the translet pointer within the execution of
matchFrom or matchCount.
|
void |
setTransletIndex(int index)
Set the index of the register where "this" (the pointer to
the translet) is stored.
|
addMethod, getApplyTemplatesSig, getApplyTemplatesSigForImport, getClassName, getDOMClass, getDOMClassSig, getParser, getStylesheet
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
public NodeCounterGenerator(String className, String superClassName, String fileName, int accessFlags, String[] interfaces, Stylesheet stylesheet)
public void setTransletIndex(int index)
public org.apache.bcel.generic.Instruction loadTranslet()
loadTranslet
in class ClassGenerator
public boolean isExternal()
isExternal
in class ClassGenerator
Copyright © 2020 JBoss by Red Hat. All rights reserved.