Class FilterGenerator
java.lang.Object
org.apache.bcel.classfile.AccessFlags
org.apache.bcel.generic.ClassGen
org.apache.xalan.xsltc.compiler.util.ClassGenerator
org.apache.xalan.xsltc.compiler.util.FilterGenerator
- All Implemented Interfaces:
Cloneable
This class implements auxliary classes needed to compile
filters (predicates). These classes defined a single method
of type TestGenerator.
- Author:
- Jacek Ambroziak, Santiago Pericas-Geertsen
-
Constructor Summary
ConstructorsConstructorDescriptionFilterGenerator
(String className, String superClassName, String fileName, int accessFlags, String[] interfaces, Stylesheet stylesheet) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true since this class is external to the translet.final org.apache.bcel.generic.Instruction
The index of the translet pointer within the execution of the test method.Methods inherited from class org.apache.xalan.xsltc.compiler.util.ClassGenerator
addMethod, getApplyTemplatesSig, getApplyTemplatesSigForImport, getClassName, getDOMClass, getDOMClassSig, getParser, getStylesheet
Methods inherited from class org.apache.bcel.generic.ClassGen
addAnnotationEntry, addAttribute, addEmptyConstructor, addField, addInterface, addMethod, addObserver, clone, containsField, containsField, containsMethod, equals, getAnnotationEntries, 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
Methods inherited from class org.apache.bcel.classfile.AccessFlags
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, isVarArgs, isVarArgs, isVolatile, isVolatile, setAccessFlags, setModifiers
-
Constructor Details
-
FilterGenerator
public FilterGenerator(String className, String superClassName, String fileName, int accessFlags, String[] interfaces, Stylesheet stylesheet)
-
-
Method Details
-
loadTranslet
public final org.apache.bcel.generic.Instruction loadTranslet()The index of the translet pointer within the execution of the test method.- Overrides:
loadTranslet
in classClassGenerator
-
isExternal
public boolean isExternal()Returns true since this class is external to the translet.- Overrides:
isExternal
in classClassGenerator
-