org.apache.xalan.xsltc.compiler.util

Class 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.

Authors:
Jacek Ambroziak
Santiago Pericas-Geertsen

Constructor Summary

FilterGenerator(String className, String superClassName, String fileName, int accessFlags, 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 org.apache.xalan.xsltc.compiler.util.ClassGenerator

getApplyTemplatesSig, getClassName, getDOMClass, getDOMClassSig, getParser, getStylesheet, isExternal, loadTranslet

Constructor Details

FilterGenerator

public FilterGenerator(String className,
                       String superClassName,
                       String fileName,
                       int accessFlags,
                       String[] interfaces,
                       Stylesheet stylesheet)

Method Details

isExternal

public boolean isExternal()
Returns true since this class is external to the translet.
Overrides:
isExternal in interface ClassGenerator


loadTranslet

public final Instruction loadTranslet()
The index of the translet pointer within the execution of the test method.
Overrides:
loadTranslet in interface ClassGenerator


Copyright B) 2004 Apache XML Project. All Rights Reserved.