queryextrainfo.java
来自「java的一系列产品中包括jsme,jmse,j2ee,本文件提供j2ee实现的」· Java 代码 · 共 22 行
JAVA
22 行
package examples.jsp.tagext.sql;
import javax.servlet.jsp.tagext.*;
/**
*Assigns the name given by the <font face="Courier New" size=-1>id</font> attribute
*/
public class QueryExtraInfo extends TagExtraInfo {
public VariableInfo[] getVariableInfo(TagData data) {
return new VariableInfo[] {
// We assign the name given by the 'id' attribute to this variable name
new VariableInfo(data.getId(),
"java.sql.ResultSet",
true,
VariableInfo.NESTED) };
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?