1 16 19 20 package org.apache.xalan.xsltc.compiler.util; 21 22 import org.apache.bcel.generic.ALOAD; 23 import org.apache.bcel.generic.Instruction; 24 import org.apache.xalan.xsltc.compiler.Stylesheet; 25 26 32 public final class NodeSortRecordGenerator extends ClassGenerator { 33 private static final int TRANSLET_INDEX = 4; private final Instruction _aloadTranslet; 35 36 public NodeSortRecordGenerator(String className, String superClassName, 37 String fileName, 38 int accessFlags, String [] interfaces, 39 Stylesheet stylesheet) { 40 super(className, superClassName, fileName, 41 accessFlags, interfaces, stylesheet); 42 _aloadTranslet = new ALOAD(TRANSLET_INDEX); 43 } 44 45 49 public Instruction loadTranslet() { 50 return _aloadTranslet; 51 } 52 53 57 public boolean isExternal() { 58 return true; 59 } 60 61 } 62 | Popular Tags |