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

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.TestGenerator

public final class TestGenerator
extends MethodGenerator


Constructor Summary
TestGenerator(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 getHandlerIndex()
           
 int getIteratorIndex()
           
 int getLocalIndex(java.lang.String name)
           
 org.apache.bcel.generic.Instruction loadContextNode()
          by default context node is the same as current node.
 org.apache.bcel.generic.Instruction loadCurrentNode()
           
 org.apache.bcel.generic.Instruction loadDOM()
           
 org.apache.bcel.generic.Instruction loadIterator()
           
 void setDomIndex(int domIndex)
           
 org.apache.bcel.generic.Instruction storeContextNode()
           
 org.apache.bcel.generic.Instruction storeCurrentNode()
           
 org.apache.bcel.generic.Instruction storeIterator()
           
 
Methods inherited from class org.apache.xalan.xsltc.compiler.util.MethodGenerator
addInstructionList, addLocalVariable, addLocalVariable2, attribute, endDocument, endElement, getInstructionList, getLocalVariable, loadHandler, markChunkEnd, markChunkStart, namespace, nextNode, outlineChunks, removeLocalVariable, reset, setMaxLocals, setStartNode, startDocument, startElement, storeDOM, storeHandler, 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

TestGenerator

public TestGenerator(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

getHandlerIndex

public int getHandlerIndex()

getIteratorIndex

public int getIteratorIndex()

setDomIndex

public void setDomIndex(int domIndex)

loadDOM

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

loadCurrentNode

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

loadContextNode

public org.apache.bcel.generic.Instruction loadContextNode()
by default context node is the same as current node. MK437
Overrides:
loadContextNode in class MethodGenerator

storeContextNode

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

storeCurrentNode

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

storeIterator

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

loadIterator

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

getLocalIndex

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


Copyright 2006 Apache XML Project. All Rights Reserved.