org.apache.xalan.xsltc.compiler.util
Class MethodGenerator

org.apache.xalan.xsltc.compiler.util.MethodGenerator
Direct Known Subclasses:
AttributeSetMethodGenerator, CompareGenerator, MatchGenerator, NamedMethodGenerator, RtMethodGenerator, TestGenerator

public class MethodGenerator
implements Constants


Constructor Summary
MethodGenerator(int access_flags, org.apache.bcel.generic.Type return_type, org.apache.bcel.generic.Type[] arg_types, java.lang.String[] arg_names, java.lang.String method_name, java.lang.String class_name, org.apache.xalan.xsltc.compiler.util.InstructionList il, org.apache.xalan.xsltc.compiler.util.ConstantPoolGen cpg)
           
 
Method Summary
 org.apache.xalan.xsltc.compiler.util.LocalVariableGen addLocalVariable(java.lang.String name, org.apache.bcel.generic.Type type, org.apache.xalan.xsltc.compiler.util.InstructionHandle start, org.apache.xalan.xsltc.compiler.util.InstructionHandle end)
           
 org.apache.xalan.xsltc.compiler.util.LocalVariableGen addLocalVariable2(java.lang.String name, org.apache.bcel.generic.Type type, org.apache.xalan.xsltc.compiler.util.InstructionHandle start)
           
 org.apache.xalan.xsltc.compiler.util.Instruction attribute()
           
 org.apache.xalan.xsltc.compiler.util.Instruction endDocument()
           
 org.apache.xalan.xsltc.compiler.util.Instruction endElement()
           
 int getLocalIndex(java.lang.String name)
           
 org.apache.xalan.xsltc.compiler.util.LocalVariableGen getLocalVariable(java.lang.String name)
           
 org.apache.xalan.xsltc.compiler.util.Instruction loadContextNode()
          by default context node is the same as current node.
 org.apache.xalan.xsltc.compiler.util.Instruction loadCurrentNode()
           
 org.apache.xalan.xsltc.compiler.util.Instruction loadDOM()
           
 org.apache.xalan.xsltc.compiler.util.Instruction loadHandler()
           
 org.apache.xalan.xsltc.compiler.util.Instruction loadIterator()
           
 org.apache.xalan.xsltc.compiler.util.Instruction namespace()
           
 org.apache.xalan.xsltc.compiler.util.Instruction nextNode()
           
 void removeLocalVariable(org.apache.xalan.xsltc.compiler.util.LocalVariableGen lvg)
           
 org.apache.xalan.xsltc.compiler.util.Instruction reset()
           
 void setMaxLocals()
           
 org.apache.xalan.xsltc.compiler.util.Instruction setStartNode()
           
 org.apache.xalan.xsltc.compiler.util.Instruction startDocument()
           
 org.apache.xalan.xsltc.compiler.util.Instruction startElement()
           
 org.apache.xalan.xsltc.compiler.util.Instruction storeContextNode()
           
 org.apache.xalan.xsltc.compiler.util.Instruction storeCurrentNode()
           
 org.apache.xalan.xsltc.compiler.util.Instruction storeDOM()
           
 org.apache.xalan.xsltc.compiler.util.Instruction storeHandler()
           
 org.apache.xalan.xsltc.compiler.util.Instruction storeIterator()
           
 

Constructor Detail

MethodGenerator

public MethodGenerator(int access_flags,
                       org.apache.bcel.generic.Type return_type,
                       org.apache.bcel.generic.Type[] arg_types,
                       java.lang.String[] arg_names,
                       java.lang.String method_name,
                       java.lang.String class_name,
                       org.apache.xalan.xsltc.compiler.util.InstructionList il,
                       org.apache.xalan.xsltc.compiler.util.ConstantPoolGen cpg)
Method Detail

addLocalVariable

public org.apache.xalan.xsltc.compiler.util.LocalVariableGen addLocalVariable(java.lang.String name,
                                                                              org.apache.bcel.generic.Type type,
                                                                              org.apache.xalan.xsltc.compiler.util.InstructionHandle start,
                                                                              org.apache.xalan.xsltc.compiler.util.InstructionHandle end)

addLocalVariable2

public org.apache.xalan.xsltc.compiler.util.LocalVariableGen addLocalVariable2(java.lang.String name,
                                                                               org.apache.bcel.generic.Type type,
                                                                               org.apache.xalan.xsltc.compiler.util.InstructionHandle start)

removeLocalVariable

public void removeLocalVariable(org.apache.xalan.xsltc.compiler.util.LocalVariableGen lvg)

loadDOM

public org.apache.xalan.xsltc.compiler.util.Instruction loadDOM()

storeDOM

public org.apache.xalan.xsltc.compiler.util.Instruction storeDOM()

storeHandler

public org.apache.xalan.xsltc.compiler.util.Instruction storeHandler()

loadHandler

public org.apache.xalan.xsltc.compiler.util.Instruction loadHandler()

storeIterator

public org.apache.xalan.xsltc.compiler.util.Instruction storeIterator()

loadIterator

public org.apache.xalan.xsltc.compiler.util.Instruction loadIterator()

setStartNode

public final org.apache.xalan.xsltc.compiler.util.Instruction setStartNode()

reset

public final org.apache.xalan.xsltc.compiler.util.Instruction reset()

nextNode

public final org.apache.xalan.xsltc.compiler.util.Instruction nextNode()

startElement

public final org.apache.xalan.xsltc.compiler.util.Instruction startElement()

endElement

public final org.apache.xalan.xsltc.compiler.util.Instruction endElement()

startDocument

public final org.apache.xalan.xsltc.compiler.util.Instruction startDocument()

endDocument

public final org.apache.xalan.xsltc.compiler.util.Instruction endDocument()

attribute

public final org.apache.xalan.xsltc.compiler.util.Instruction attribute()

namespace

public final org.apache.xalan.xsltc.compiler.util.Instruction namespace()

loadCurrentNode

public org.apache.xalan.xsltc.compiler.util.Instruction loadCurrentNode()

storeCurrentNode

public org.apache.xalan.xsltc.compiler.util.Instruction storeCurrentNode()

loadContextNode

public org.apache.xalan.xsltc.compiler.util.Instruction loadContextNode()
by default context node is the same as current node. MK437

storeContextNode

public org.apache.xalan.xsltc.compiler.util.Instruction storeContextNode()

getLocalIndex

public int getLocalIndex(java.lang.String name)

getLocalVariable

public org.apache.xalan.xsltc.compiler.util.LocalVariableGen getLocalVariable(java.lang.String name)

setMaxLocals

public void setMaxLocals()


Copyright © 2001 Apache XML Project. All Rights Reserved.