public static enum Cluster.PseudoFieldName extends java.lang.Enum<Cluster.PseudoFieldName>
Cluster 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 theOnlyWorkbook as
an example, one would write <cluster.theOnlyWorkbook> 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 |
|---|
bookAry
The list of all parsed workbooks.
|
noBooks
The number of parsed workbooks in the cluster.
|
noSheetGroups
The number
Cluster.getNoSheetGroups() of named worksheet groups in
Cluster.sheetGroupMap. |
noSheets
The total number
Cluster.noSheets of parsed worksheets. |
sheetGroupMap
The parsed worksheets can be kept in global groups of those (and regardless of
their relationship to workbooks).
|
theOnlyWorkbook
The only parsed workbook
Cluster.theOnlyWorkbook, if unambiguously
possible. |
theOnlyWorksheet
The only parsed worksheet
Cluster.theOnlyWorksheet, if unambiguously
possible. |
| Modifier and Type | Method and Description |
|---|---|
static Cluster.PseudoFieldName |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Cluster.PseudoFieldName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cluster.PseudoFieldName theOnlyWorkbook
Cluster.theOnlyWorkbook, if unambiguously
possible.
From a StringTemplate V4 template it would be accessed with an expression
like <cluster.theOnlyWorkbook>.
public static final Cluster.PseudoFieldName theOnlyWorksheet
Cluster.theOnlyWorksheet, if unambiguously
possible.
From a StringTemplate V4 template it would be accessed with an expression
like <cluster.theOnlyWorksheet>.
public static final Cluster.PseudoFieldName bookAry
ObjectMap.PseudoFieldName.itemAry of the base class.
From a StringTemplate V4 template the list would be accessed with an expression
like <cluster.bookAry>.
public static final Cluster.PseudoFieldName noBooks
ObjectMap.PseudoFieldName.noItems.
The number of books relates to both collections, ObjectMap.itemAry
and ObjectMap.itemMap.
From a StringTemplate V4 template the number would be accessed with an
expression like <cluster.noBooks>.
public static final Cluster.PseudoFieldName sheetGroupMap
Cluster.sheetGroupMap
of these groups and lookup is done by the name of the group.
From a StringTemplate V4 template the map of groups would be accessed with an
expression like <cluster.sheetGroupMap>.
public static final Cluster.PseudoFieldName noSheetGroups
Cluster.getNoSheetGroups() of named worksheet groups in
Cluster.sheetGroupMap.
From a StringTemplate V4 template the number of groups would be accessed with
an expression like <cluster.noSheetGroups>.
public static final Cluster.PseudoFieldName noSheets
Cluster.noSheets of parsed worksheets.
From a StringTemplate V4 template the number of sheets would be accessed with
an expression like <cluster.noSheets>.
public static Cluster.PseudoFieldName[] values()
for (Cluster.PseudoFieldName c : Cluster.PseudoFieldName.values()) System.out.println(c);
public static Cluster.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