org.apache.xalan.xsltc.compiler.util
Class FilterGenerator
java.lang.Object
ClassGen
org.apache.xalan.xsltc.compiler.util.ClassGenerator
org.apache.xalan.xsltc.compiler.util.FilterGenerator
public final class FilterGenerator
- extends ClassGenerator
This class implements auxliary classes needed to compile
filters (predicates). These classes defined a single method
of type TestGenerator.
Constructor Summary |
FilterGenerator(java.lang.String className,
java.lang.String superClassName,
java.lang.String fileName,
int accessFlags,
java.lang.String[] interfaces,
Stylesheet stylesheet)
|
Method Summary |
boolean |
isExternal()
Returns true since this class is external to the
translet. |
Instruction |
loadTranslet()
The index of the translet pointer within the execution of
the test method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRANSLET_INDEX
private static int TRANSLET_INDEX
_aloadTranslet
private final Instruction _aloadTranslet
FilterGenerator
public FilterGenerator(java.lang.String className,
java.lang.String superClassName,
java.lang.String fileName,
int accessFlags,
java.lang.String[] interfaces,
Stylesheet stylesheet)
loadTranslet
public final Instruction loadTranslet()
- The index of the translet pointer within the execution of
the test method.
- Overrides:
loadTranslet
in class ClassGenerator
isExternal
public boolean isExternal()
- Returns true since this class is external to the
translet.
- Overrides:
isExternal
in class ClassGenerator