Top Description Fields Constructors Methods
com.sun.org.apache.xalan.internal.xsltc.compiler.util

public final Class FilterGenerator

extends ClassGenerator
Class Inheritance
Imports
com.sun.org.apache.bcel.internal.generic.ALOAD, .Instruction, com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet

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

Field Summary

Modifier and TypeField and Description
private final Instruction
private static int
Inherited from com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator:
INVALID_INDEX

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public boolean
isExternal()

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator.isExternal.

Returns true since this class is external to the translet.
public final Instruction
loadTranslet()

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator.loadTranslet.

The index of the translet pointer within the execution of the test method.
Inherited from com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator:
addMethodgetApplyTemplatesSiggetApplyTemplatesSigForImportgetClassNamegetDOMClassgetDOMClassSiggetParsergetStylesheet

Field Detail

_aloadTransletback to summary
private final Instruction _aloadTranslet

Hides com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator._aloadTranslet.

TRANSLET_INDEXback to summary
private static int TRANSLET_INDEX

Hides com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator.TRANSLET_INDEX.

Constructor Detail

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

Method Detail

isExternalback to summary
public boolean isExternal()

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator.isExternal.

Returns true since this class is external to the translet.

loadTransletback to summary
public final Instruction loadTranslet()

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator.loadTranslet.

The index of the translet pointer within the execution of the test method.