public class CollectionsTransformer
extends java.lang.Object
CollectionsTransformer
knows how to perform implicit
collections processing on a group of Collections
, processing an
implicit MultiForEachTag
.Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
BEGIN_METADATA |
Determines the beginning of metadata text.
|
Constructor | Description |
---|---|
CollectionsTransformer() |
Modifier and Type | Method | Description |
---|---|---|
static java.util.List<java.lang.String> |
getImplicitVarNames(java.util.List<java.lang.String> collectionNames) |
Creates a
List of substitute variable names, one for each of
the given collection names. |
void |
transform(org.apache.poi.ss.usermodel.Cell cell,
WorkbookContext workbookContext,
TagContext cellContext) |
Transform a
Block of Cells around the given
Cell , which has declared implicit collection processing
behavior using the given collection expression. |
public static final java.lang.String BEGIN_METADATA
public void transform(org.apache.poi.ss.usermodel.Cell cell, WorkbookContext workbookContext, TagContext cellContext)
Block
of Cells
around the given
Cell
, which has declared implicit collection processing
behavior using the given collection expression.cell
- The Cell
on which the collection expression was
first found.workbookContext
- The WorkbookContext
.cellContext
- The TagContext
of cell
.public static java.util.List<java.lang.String> getImplicitVarNames(java.util.List<java.lang.String> collectionNames)
List
of substitute variable names, one for each of
the given collection names.collectionNames
- A List
of collection names.List
of substitute variable names, each related to
the corresponding collection name.Copyright © 2012–2018 Jett Team. All rights reserved.