tagcontext.java
来自「一个java生成自动生成Excel」· Java 代码 · 共 84 行
JAVA
84 行
package net.sf.jxls.tag;import java.util.Map;import net.sf.jxls.controller.SheetTransformationController;import net.sf.jxls.transformer.Sheet;import net.sf.jxls.transformer.SheetTransformer;/** * Contains tag related information * @author Leonid Vysochyn */public class TagContext { Map beans; Block tagBody; Sheet sheet; SheetTransformer sheetTransformer; SheetTransformationController stc; public TagContext(SheetTransformationController stc, SheetTransformer sheetTransformer, Sheet sheet, Block tagBody, Map beans) { this.stc = stc; this.sheetTransformer = sheetTransformer; this.sheet = sheet; this.tagBody = tagBody; this.beans = beans; } public TagContext(SheetTransformer sheetTransformer, Sheet sheet, Block tagBody, Map beans) { this.sheetTransformer = sheetTransformer; this.sheet = sheet; this.tagBody = tagBody; this.beans = beans; } public TagContext(Sheet sheet, Block tagBody, Map beans) { this.sheet = sheet; this.tagBody = tagBody; this.beans = beans; } public TagContext(Map beans, Block tagBody) { this.beans = beans; this.tagBody = tagBody; } public TagContext(Map beans) { this.beans = beans; } public Map getBeans() { return beans; } public void setBeans(Map beans) { this.beans = beans; } public String toString() { return "Beans: " + beans.toString() + ", Body: " + tagBody; } public Block getTagBody() { return tagBody; } public void setTagBody(Block tagBody) { this.tagBody = tagBody; } public Sheet getSheet() { return sheet; } public SheetTransformationController getSheetTransformationController() { return stc; } public void setSheetTransformationController(SheetTransformationController stc) { this.stc = stc; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?