org.apache.xalan.xsltc.compiler.util

Class NamedMethodGenerator

public final class NamedMethodGenerator extends MethodGenerator

This class is used for named templates. Named template methods have access to the DOM, the current iterator, the handler and the current node.

Author: Jacek Ambroziak Santiago Pericas-Geertsen

Constructor Summary
NamedMethodGenerator(int access_flags, Type return_type, Type[] arg_types, String[] arg_names, String method_name, String class_name, InstructionList il, ConstantPoolGen cp)
Method Summary
intgetLocalIndex(String name)
InstructionloadParameter(int index)
InstructionstoreParameter(int index)

Constructor Detail

NamedMethodGenerator

public NamedMethodGenerator(int access_flags, Type return_type, Type[] arg_types, String[] arg_names, String method_name, String class_name, InstructionList il, ConstantPoolGen cp)

Method Detail

getLocalIndex

public int getLocalIndex(String name)

loadParameter

public Instruction loadParameter(int index)

storeParameter

public Instruction storeParameter(int index)
Copyright B) 2005 Apache XML Project. All Rights Reserved.