1 29 30 package com.caucho.amber.gen; 31 32 import com.caucho.amber.type.ListenerType; 33 import com.caucho.java.AbstractGenerator; 34 import com.caucho.util.L10N; 35 36 import java.io.IOException ; 37 38 41 44 public class ListenerGenerator extends AbstractGenerator { 45 static final L10N L = new L10N(ListenerGenerator.class); 46 47 private String _baseClassName; 48 private String _extClassName; 49 private ListenerType _listenerType; 50 51 54 public void setListenerType(ListenerType listenerType) 55 { 56 _listenerType = listenerType; 57 } 58 59 62 public void setBaseClassName(String baseClassName) 63 { 64 _baseClassName = baseClassName; 65 } 66 67 70 public String getBaseClassName() 71 { 72 return _baseClassName; 73 } 74 75 78 public void setExtClassName(String extClassName) 79 { 80 _extClassName = extClassName; 81 82 setFullClassName(_extClassName); 83 } 84 85 88 public String getBeanClassName() 89 { 90 return _baseClassName; 91 } 92 93 94 97 public void generateJava() 98 throws IOException 99 { 100 } 101 } 102 | Popular Tags |