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

java.lang.Object
  |
  +--org.apache.bcel.classfile.AccessFlags
        |
        +--org.apache.bcel.generic.FieldGenOrMethodGen
              |
              +--org.apache.bcel.generic.MethodGen
                    |
                    +--org.apache.xalan.xsltc.compiler.util.MethodGenerator
                          |
                          +--org.apache.xalan.xsltc.compiler.util.RtMethodGenerator

public final class RtMethodGenerator
extends MethodGenerator

This class is used for result trees implemented as methods. These methods take a reference to the DOM and to the handler only.


Constructor Summary
RtMethodGenerator(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.bcel.generic.InstructionList il, org.apache.bcel.generic.ConstantPoolGen cp)
           
 
Method Summary
 int getIteratorIndex()
           
 int getLocalIndex(java.lang.String name)
           
 org.apache.bcel.generic.Instruction loadHandler()
           
 org.apache.bcel.generic.Instruction storeHandler()
           
 
Methods inherited from class org.apache.xalan.xsltc.compiler.util.MethodGenerator
addInstructionList, addLocalVariable, addLocalVariable2, attribute, endDocument, endElement, getInstructionList, getLocalVariable, loadContextNode, loadCurrentNode, loadDOM, loadIterator, markChunkEnd, markChunkStart, namespace, nextNode, outlineChunks, removeLocalVariable, reset, setMaxLocals, setStartNode, startDocument, startElement, storeContextNode, storeCurrentNode, storeDOM, storeIterator, uniqueAttribute
 
Methods inherited from class org.apache.bcel.generic.MethodGen
addCodeAttribute, addException, addExceptionHandler, addLineNumber, addLocalVariable, addObserver, copy, getArgumentName, getArgumentNames, getArgumentType, getArgumentTypes, getClassName, getCodeAttributes, getExceptionHandlers, getExceptions, getInstructionList, getLineNumbers, getLineNumberTable, getLocalVariables, getLocalVariableTable, getMaxLocals, getMaxStack, getMaxStack, getMethod, getReturnType, getSignature, removeCodeAttribute, removeCodeAttributes, removeException, removeExceptionHandler, removeExceptionHandlers, removeExceptions, removeLineNumber, removeLineNumbers, removeLocalVariables, removeNOPs, removeObserver, setArgumentName, setArgumentNames, setArgumentType, setArgumentTypes, setClassName, setInstructionList, setMaxLocals, setMaxStack, setMaxStack, setReturnType, stripAttributes, toString, update
 
Methods inherited from class org.apache.bcel.generic.FieldGenOrMethodGen
addAttribute, clone, getAttributes, getConstantPool, getName, getType, removeAttribute, removeAttributes, setConstantPool, setName, setType
 
Methods inherited from class org.apache.bcel.classfile.AccessFlags
getAccessFlags, isAbstract, isAbstract, isFinal, isFinal, isInterface, isInterface, isNative, isNative, isPrivate, isPrivate, isProtected, isProtected, isPublic, isPublic, isStatic, isStatic, isStrictfp, isStrictfp, isSynchronized, isSynchronized, isTransient, isTransient, isVolatile, isVolatile, setAccessFlags
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RtMethodGenerator

public RtMethodGenerator(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.bcel.generic.InstructionList il,
                         org.apache.bcel.generic.ConstantPoolGen cp)
Method Detail

getIteratorIndex

public int getIteratorIndex()

storeHandler

public final org.apache.bcel.generic.Instruction storeHandler()
Overrides:
storeHandler in class MethodGenerator

loadHandler

public final org.apache.bcel.generic.Instruction loadHandler()
Overrides:
loadHandler in class MethodGenerator

getLocalIndex

public int getLocalIndex(java.lang.String name)
Overrides:
getLocalIndex in class MethodGenerator


Copyright © 2006 Apache XML Project. All Rights Reserved.