1 19 20 package org.netbeans.modules.j2ee.deployment.plugins.api; 21 22 import java.io.IOException ; 23 import java.util.Map ; 24 import javax.enterprise.deploy.spi.TargetModuleID ; 25 26 33 public interface OldJSPDebug extends FindJSPServlet { 34 35 43 public JspSourceMapper getSourceMapper(TargetModuleID module, String jspResourcePath); 44 45 46 public interface JspSourceMapper { 47 48 51 public interface NameConverter { 52 56 String convert(String name) throws IOException ; 57 } 58 59 63 String getPrimaryJspFileName(); 64 65 69 public void setPrimaryJspFileName(String v); 70 71 75 int size(); 76 77 81 boolean isEmpty(); 82 83 84 96 97 99 104 int mangle(int line); 105 106 112 int mangle(int line, int col); 113 114 118 int mangle(String jspFile, int line); 119 120 127 int mangle(String jspFileName, int line, int col); 128 129 134 int unmangle(int line); 135 136 143 int unmangle(int line, int col); 144 145 152 int unmangle(String jspFileName, int line, int col); 153 154 160 String getJavaLineType(int line, int col); 161 162 168 public String getJspFileName(int line, int col) throws IOException ; 169 170 171 177 boolean isJavaCodeInJspPage(int line, int col); 178 179 180 Map getFileNames(); 181 182 186 public boolean hasIncludeFiles(); 187 188 193 public boolean isProperJspFileName(String name); 194 } 195 196 } 197 | Popular Tags |