public static enum ExcelWorkbook.PseudoFieldName extends java.lang.Enum<ExcelWorkbook.PseudoFieldName>
ExcelWorkbook that can be
accessed from a StringTemplate V4 template. The enumerated fields can be accessed
like ordinary public fields from a StringTemplate V4 template. The dot notation is
used to do so. Taking the first named value excelFile as an
example, one would write <cluster.excelFile> to access the related
pseudo-field.A short explanation of each pseudo-field and a reference to more in-depth information can be found as description of each named value of the enumeration.
Please note, that the pseudo-fields of the base class ObjectMap are
inherited and can be accessed, too. See ObjectMap.PseudoFieldName.
A detailed discussion of pseudo-fields and the enumeration of these can be found
in the class description of ObjectMap.
| Enum Constant and Description |
|---|
excelFile
The file designation
ExcelWorkbook.excelFile of the Excel source. |
noOptions
The number
ExcelWorkbook.getNoOptions() of user specified options in ExcelWorkbook.optionMap. |
noSheets
The number of parsed worksheets in the workbook.
|
optionMap
The map
ExcelWorkbook.optionMap of user specified options. |
sheetAry
The list of parsed worksheets in the book.
|
theOnlyWorksheet
The only parsed worksheet
ExcelWorkbook.theOnlyWorksheet of the
workbook, if unambiguously possible. |
| Modifier and Type | Method and Description |
|---|---|
static ExcelWorkbook.PseudoFieldName |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExcelWorkbook.PseudoFieldName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExcelWorkbook.PseudoFieldName excelFile
ExcelWorkbook.excelFile of the Excel source.
From a StringTemplate V4 template it would be accessed with an expression
like <book.excelFile>.
public static final ExcelWorkbook.PseudoFieldName sheetAry
ObjectMap.PseudoFieldName.itemAry of the base
class.
From a StringTemplate V4 template the list would be accessed with an
expression like <book.sheetAry>.
public static final ExcelWorkbook.PseudoFieldName noSheets
ObjectMap.PseudoFieldName.noItems.
The number of sheets relates to both collections, ObjectMap.itemAry
and ObjectMap.itemMap.
From a StringTemplate V4 template the number would be accessed with an
expression like <book.noSheets>.
public static final ExcelWorkbook.PseudoFieldName theOnlyWorksheet
ExcelWorkbook.theOnlyWorksheet of the
workbook, if unambiguously possible. null otherwise.
From a StringTemplate V4 template it would be accessed with an expression
like <book.theOnlyWorksheet>.
public static final ExcelWorkbook.PseudoFieldName optionMap
ExcelWorkbook.optionMap of user specified options.
From a StringTemplate V4 template it would be accessed with an expression
like <book.optionMap>.
public static final ExcelWorkbook.PseudoFieldName noOptions
ExcelWorkbook.getNoOptions() of user specified options in ExcelWorkbook.optionMap.
From a StringTemplate V4 template it would be accessed with an expression
like <book.noOptions>.
public static ExcelWorkbook.PseudoFieldName[] values()
for (ExcelWorkbook.PseudoFieldName c : ExcelWorkbook.PseudoFieldName.values()) System.out.println(c);
public static ExcelWorkbook.PseudoFieldName valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null