org.apache.xalan.xsltc.compiler.util

Class MatchGenerator

public final class MatchGenerator extends MethodGenerator

Author: Jacek Ambroziak Santiago Pericas-Geertsen

Constructor Summary
MatchGenerator(int access_flags, Type return_type, Type[] arg_types, String[] arg_names, String method_name, String class_name, InstructionList il, ConstantPoolGen cp)
Method Summary
intgetHandlerIndex()
intgetIteratorIndex()
Get index of the register where the current iterator is stored.
intgetLocalIndex(String name)
InstructionloadCurrentNode()
InstructionloadDOM()
Get index of the register where the DOM is stored.
voidsetDomIndex(int domIndex)
Set index where the reference to the DOM is stored.
voidsetIteratorIndex(int iteratorIndex)
Set index of the register where the current iterator is stored.
InstructionstoreCurrentNode()

Constructor Detail

MatchGenerator

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

Method Detail

getHandlerIndex

public int getHandlerIndex()

getIteratorIndex

public int getIteratorIndex()
Get index of the register where the current iterator is stored.

getLocalIndex

public int getLocalIndex(String name)

loadCurrentNode

public Instruction loadCurrentNode()

loadDOM

public Instruction loadDOM()
Get index of the register where the DOM is stored.

setDomIndex

public void setDomIndex(int domIndex)
Set index where the reference to the DOM is stored.

setIteratorIndex

public void setIteratorIndex(int iteratorIndex)
Set index of the register where the current iterator is stored.

storeCurrentNode

public Instruction storeCurrentNode()
Copyright © 2005 Apache XML Project. All Rights Reserved.