org.openl.rules.lang.xls.XlsSheetSourceCodeModule.getUri()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(3.1k)|赞(0)|评价(0)|浏览(97)

本文整理了Java中org.openl.rules.lang.xls.XlsSheetSourceCodeModule.getUri()方法的一些代码示例,展示了XlsSheetSourceCodeModule.getUri()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XlsSheetSourceCodeModule.getUri()方法的具体详情如下:
包路径:org.openl.rules.lang.xls.XlsSheetSourceCodeModule
类名称:XlsSheetSourceCodeModule
方法名:getUri

XlsSheetSourceCodeModule.getUri介绍

暂无

代码示例

代码示例来源:origin: openl-tablets/openl-tablets

/**
 * {@inheritDoc}
 */
@Override
public String getUrl(Object nodeObject) {
  XlsSheetSourceCodeModule sheet = (XlsSheetSourceCodeModule) nodeObject;
  return sheet.getUri();
}

代码示例来源:origin: org.openl.rules/org.openl.rules.webstudio

/**
 * {@inheritDoc}
 */
@Override
public String getUrl(Object nodeObject) {
  XlsSheetSourceCodeModule sheet = (XlsSheetSourceCodeModule) nodeObject;
  return sheet.getUri();
}

代码示例来源:origin: org.openl.rules/org.openl.rules.webstudio.java

/**
 * {@inheritDoc}
 */
@Override
public String getUrl(Object nodeObject) {
  XlsSheetSourceCodeModule sheet = (XlsSheetSourceCodeModule) nodeObject;
  return sheet.getUri();
}

代码示例来源:origin: openl-tablets/openl-tablets

public String getUri() {
  return sheetSource == null ? "" : sheetSource.getUri();// + "#" + name;
}

代码示例来源:origin: openl-tablets/openl-tablets

ParsedGrid(String workbookPath,
    XlsSheetSourceCodeModule sheetSource,
    SheetDescriptor sheet,
    Object[][] cells,
    boolean use1904Windowing) {
  this.workbookPath = workbookPath;
  this.cells = cells;
  this.sheetSource = sheetSource;
  this.uri = sheetSource.getUri();
  this.sheetDescriptor = sheet;
  this.use1904Windowing = use1904Windowing;
  findRegions();
  sheetSource.getWorkbookSource().addListener(new WorkbookSaveListener());
}

代码示例来源:origin: org.openl.rules/org.openl.extension.xmlrules

int endRow = startRow + conditions.size();
int endColumn = startColumn + conditions.get(0).size() - 1;
String uri = sheetSource.getUri() + "&range="
    + GridBuilderUtils.toA1Row(startColumn) + (startRow + 1)
    + "%3a" // Encoded colon

代码示例来源:origin: org.openl.rules/org.openl.extension.xmlrules

/**
 * Gets all grid tables from the sheet.
 */
protected IGridTable[] getAllGridTables(XlsSheetSourceCodeModule sheetSource,
    ExtensionModule module,
    LazyWorkbook workbook,
    Sheet sheet,
    XmlRulesModuleSourceCodeModule sourceCodeModule,
    List<ParseError> parseErrors,
    Collection<OpenLMessage> messages) {
  String uri = sheetSource.getUri();
  LazyXmlRulesWorkbookLoader workbookLoader = (LazyXmlRulesWorkbookLoader) sheetSource.getWorkbookSource()
    .getWorkbookLoader();
  StringGridBuilder gridBuilder = new StringGridBuilder(uri, workbookLoader.getExtensionModule().getFileName());
  if (workbook.getXlsFileName().equals(ExtensionDescriptor.TYPES_WORKBOOK)) {
    TypeGridBuilder.build(gridBuilder, sheet, messages);
  } else {
    DataInstanceGridBuilder.build(gridBuilder, module, sheet, messages);
    TableGridBuilder.build(gridBuilder, module, sheet, messages);
    FunctionGridBuilder.build(gridBuilder, module, sheet, messages);
    CellExpressionGridBuilder.build(sheetSource, gridBuilder, sheet, parseErrors, messages);
    ArrayCellExpressionGridBuilder.build(gridBuilder, sheet, parseErrors, messages);
    if (sheet.getId() == ExtensionDescriptor.MAIN_SHEET_NUMBER) {
      EnvironmentGridBuilder.build(gridBuilder, sourceCodeModule, messages);
    }
  }
  return gridBuilder.build().getTables();
}

相关文章