FileDocCategorySizeDatePackage
AttributeSetMethodGenerator.javaAPI DocJava SE 5 API3217Fri Aug 26 14:55:38 BST 2005com.sun.org.apache.xalan.internal.xsltc.compiler.util

AttributeSetMethodGenerator

public final class AttributeSetMethodGenerator extends MethodGenerator
author
Jacek Ambroziak
author
Santiago Pericas-Geertsen

Fields Summary
private static final int
DOM_INDEX
private static final int
ITERATOR_INDEX
private static final int
HANDLER_INDEX
private static final Type[]
argTypes
private static final String[]
argNames
private final Instruction
_aloadDom
private final Instruction
_astoreDom
private final Instruction
_astoreIterator
private final Instruction
_aloadIterator
private final Instruction
_astoreHandler
private final Instruction
_aloadHandler
Constructors Summary
public AttributeSetMethodGenerator(String methodName, ClassGen classGen)

	super(com.sun.org.apache.bcel.internal.Constants.ACC_PRIVATE,
	      com.sun.org.apache.bcel.internal.generic.Type.VOID,
	      argTypes, argNames, methodName, 
	      classGen.getClassName(),
	      new InstructionList(),
	      classGen.getConstantPool());
	
	_aloadDom       = new ALOAD(DOM_INDEX);
	_astoreDom      = new ASTORE(DOM_INDEX);
	_astoreIterator = new ASTORE(ITERATOR_INDEX);
	_aloadIterator  = new ALOAD(ITERATOR_INDEX);
	_astoreHandler  = new ASTORE(HANDLER_INDEX);
	_aloadHandler   = new ALOAD(HANDLER_INDEX);
    
Methods Summary
public intgetIteratorIndex()

	return ITERATOR_INDEX;
    
public intgetLocalIndex(java.lang.String name)

	return INVALID_INDEX;	// not available
    
public com.sun.org.apache.bcel.internal.generic.InstructionloadHandler()

	return _aloadHandler;
    
public com.sun.org.apache.bcel.internal.generic.InstructionloadIterator()

	return _aloadIterator;
    
public com.sun.org.apache.bcel.internal.generic.InstructionstoreHandler()

	return _astoreHandler;
    
public com.sun.org.apache.bcel.internal.generic.InstructionstoreIterator()

	return _astoreIterator;