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

public final Class RtMethodGenerator

extends MethodGenerator
Class Inheritance
Imports
com.sun.org.apache.bcel.internal.generic.ALOAD, .ASTORE, .ConstantPoolGen, .Instruction, .InstructionList, .Type

This class is used for result trees implemented as methods. These methods take a reference to the DOM and to the handler only.
Authors
Jacek Ambroziak, Santiago Pericas-Geertsen

Field Summary

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

Constructor Summary

AccessConstructor and Description
public
RtMethodGenerator(int access_flags, Type return_type, Type[] arg_types, String[] arg_names, String method_name, String class_name, InstructionList il, ConstantPoolGen cp)

Method Summary

Modifier and TypeMethod and Description
public int
public int
public final Instruction
public final Instruction
Inherited from com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator:
addInstructionListaddLocalVariableaddLocalVariable2attributeendDocumentendElementgetGeneratedMethodsgetInstructionListgetLocalVariablegetThisMethodloadContextNodeloadCurrentNodeloadDOMloadIteratormarkChunkEndmarkChunkStartnamespacenextNodeoffsetInLocalVariableGenRangeoutlineChunksremoveLocalVariableresetsetMaxLocalssetStartNodestartDocumentstartElementstoreContextNodestoreCurrentNodestoreDOMstoreIteratoruniqueAttributewidenConditionalBranchTargetOffsets

Field Detail

_aloadHandlerback to summary
private final Instruction _aloadHandler

Hides com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator._aloadHandler.

_astoreHandlerback to summary
private final Instruction _astoreHandler

Hides com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator._astoreHandler.

HANDLER_INDEXback to summary
private static final int HANDLER_INDEX

Hides com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator.HANDLER_INDEX.

Constructor Detail

RtMethodGeneratorback to summary
public RtMethodGenerator(int access_flags, Type return_type, Type[] arg_types, String[] arg_names, String method_name, String class_name, InstructionList il, ConstantPoolGen cp)

Method Detail

getIteratorIndexback to summary
public int getIteratorIndex()
getLocalIndexback to summary
public int getLocalIndex(String name)

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator.getLocalIndex.

loadHandlerback to summary
public final Instruction loadHandler()

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator.loadHandler.

storeHandlerback to summary
public final Instruction storeHandler()

Overrides com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator.storeHandler.