public class NameNode extends TerminalNode
Represents a name node in the syntax tree.
  • 构造器详细资料

    • NameNode

      public NameNode(String name)
      Creates a new NameNode from string.
      参数:
      name - The short name.
    • NameNode

      public NameNode(String name, String worksheetName, String lastWorksheetName)
      Creates a new NameNode from a range of sheets.
      参数:
      name - The short name.
      worksheetName - The name of start worksheet.
      lastWorksheetName - The name of end worksheet.
    • NameNode

      public NameNode(String name, WorkbookReference workbook, String worksheetName, String lastWorksheetName)
      Creates a new NameNode from a range of sheets of the specifiedworkbook.
      参数:
      name - The short name.
      workbook - The workbook id.
      worksheetName - The name of start worksheet.
      lastWorksheetName - The name of end worksheet.
  • 方法详细资料

    • getWorkbook

      public final WorkbookReference getWorkbook()
      The external workbook reference.
    • setWorkbook

      public final void setWorkbook(WorkbookReference value)
      The external workbook reference.
    • getWorksheetName

      public final String getWorksheetName()
      The worksheet of the name.
    • setWorksheetName

      public final void setWorksheetName(String value)
      The worksheet of the name.
    • getLastWorksheetName

      public final String getLastWorksheetName()
      If the name represents a range of worksheets, represents the worksheet at the end of the range.
    • setLastWorksheetName

      public final void setLastWorksheetName(String value)
      If the name represents a range of worksheets, represents the worksheet at the end of the range.
    • getName

      public final String getName()
      The short name.
    • setName

      public final void setName(String value)
      The short name.