Package | Description |
---|---|
net.sf.jett.event |
Provides support for event-based processing of template spreadsheets.
|
net.sf.jett.model |
Provides value objects for JETT processing and enumerated objects for
things like style values.
|
net.sf.jett.tag |
Provides Tag functionality, including the
Tag interface and
all built-in tag classes, plus the TagLibrary interface and
TagLibraryRegistry classes for custom tag creation and
registration. |
net.sf.jett.util |
Provides utility functionality for JETT.
|
Modifier and Type | Method | Description |
---|---|---|
Block |
TagEvent.getBlock() |
Returns the
Block of cells that was processed. |
Constructor | Description |
---|---|
TagEvent(org.apache.poi.ss.usermodel.Sheet sheet,
Block block,
java.util.Map<java.lang.String,java.lang.Object> beans) |
Constructs a
TagEvent built using the given
TagContext . |
TagLoopEvent(org.apache.poi.ss.usermodel.Sheet sheet,
Block block,
java.util.Map<java.lang.String,java.lang.Object> beans,
int index) |
Constructs a
TagLoopEvent built using the given
TagContext and zero-based loop index. |
Modifier and Type | Method | Description |
---|---|---|
Block |
Block.getParent() |
Returns this
Block's parent Block . |
Modifier and Type | Method | Description |
---|---|---|
void |
Block.reactToGrowth(Block sibling,
int colGrowth,
int rowGrowth) |
When this
Block is a copy, it may have to react to "sibling"
Blocks when the "sibling" is processed first and it grows or
shrinks during processing. |
Constructor | Description |
---|---|
Block(Block parent,
int left,
int right,
int top,
int bottom) |
Construct a
Block at the given boundary column and row
numbers. |
Block(Block parent,
int left,
int right,
int top,
int bottom,
int iterationNbr) |
Construct a
Block at the given boundary column and row
numbers, with a 0-based iteration number. |
Block(Block parent,
org.apache.poi.ss.usermodel.Cell tag) |
Construct a
Block that coincides with the given
Cell . |
Block(Block parent,
org.apache.poi.ss.usermodel.Cell startTag,
org.apache.poi.ss.usermodel.Cell endTag) |
Construct a
Block that lies in between the given start and
end tags. |
Modifier and Type | Method | Description |
---|---|---|
Block |
TagContext.getBlock() |
Returns the
Block that applies to a tag. |
Modifier and Type | Method | Description |
---|---|---|
protected abstract void |
BaseLoopTag.afterBlockProcessed(TagContext context,
Block currBlock,
java.lang.Object item,
int index) |
This method is called once per iteration loop, immediately after the
given
Block is processed. |
protected void |
ForEachTag.afterBlockProcessed(TagContext context,
Block currBlock,
java.lang.Object item,
int index) |
Remove the
Iterator item from the Map of beans. |
protected void |
ForTag.afterBlockProcessed(TagContext context,
Block currBlock,
java.lang.Object item,
int index) |
Remove the index "item" from the
Map of beans. |
protected void |
MultiForEachTag.afterBlockProcessed(TagContext context,
Block currBlock,
java.lang.Object item,
int index) |
Remove the values from the
List of collection item values
from the Map of beans. |
protected abstract void |
BaseLoopTag.beforeBlockProcessed(TagContext context,
Block currBlock,
java.lang.Object item,
int index) |
This method is called once per iteration loop, immediately before the
given
Block is processed. |
protected void |
ForEachTag.beforeBlockProcessed(TagContext context,
Block currBlock,
java.lang.Object item,
int index) |
Place the
Iterator item into the Map of beans. |
protected void |
ForTag.beforeBlockProcessed(TagContext context,
Block currBlock,
java.lang.Object item,
int index) |
Place the index "item" into the
Map of beans. |
protected void |
MultiForEachTag.beforeBlockProcessed(TagContext context,
Block currBlock,
java.lang.Object item,
int index) |
Place the values from the
List of collection item values
into the Map of beans. |
void |
TagContext.setBlock(Block block) |
Sets the
Block that applies to a tag. |
Modifier and Type | Method | Description |
---|---|---|
static Block |
SheetUtil.copyBlock(org.apache.poi.ss.usermodel.Sheet sheet,
TagContext tagContext,
Block block,
WorkbookContext context,
int numBlocksAway) |
Copies an entire
Block the given number of blocks away on
the given Sheet . |
static Block |
SheetUtil.getShiftEndingAncestor(Block block,
int numVertCells,
int numHorizCells) |
Walk up the
Block tree until a "shift ending" ancestor is
found, or until the tree has been exhausted. |
Modifier and Type | Method | Description |
---|---|---|
static void |
SheetUtil.clearBlock(org.apache.poi.ss.usermodel.Sheet sheet,
Block block,
WorkbookContext context) |
Blanks out all
Cells found inside the given
Block on the given Sheet . |
static Block |
SheetUtil.copyBlock(org.apache.poi.ss.usermodel.Sheet sheet,
TagContext tagContext,
Block block,
WorkbookContext context,
int numBlocksAway) |
Copies an entire
Block the given number of blocks away on
the given Sheet . |
static void |
SheetUtil.deleteBlock(org.apache.poi.ss.usermodel.Sheet sheet,
TagContext tagContext,
Block block,
WorkbookContext context) |
Removes all
Cells found inside the given Block
on the given Sheet . |
static Block |
SheetUtil.getShiftEndingAncestor(Block block,
int numVertCells,
int numHorizCells) |
Walk up the
Block tree until a "shift ending" ancestor is
found, or until the tree has been exhausted. |
static void |
SheetUtil.removeBlock(org.apache.poi.ss.usermodel.Sheet sheet,
TagContext tagContext,
Block block,
WorkbookContext context) |
Removes the given
Block of Cells from the given
Sheet . |
static void |
SheetUtil.setUpBlockForImplicitCollectionAccess(org.apache.poi.ss.usermodel.Sheet sheet,
Block block,
java.util.List<java.lang.String> collExprs,
java.util.List<java.lang.String> itemNames) |
Replace all occurrences of the given collection expression name with the
given item name, in preparation for implicit collections processing
loops.
|
static void |
SheetUtil.shiftForBlock(org.apache.poi.ss.usermodel.Sheet sheet,
TagContext tagContext,
Block block,
WorkbookContext context,
int numBlocksAway) |
Shifts
Cells out of the way. |
static void |
SheetUtil.takePastEndAction(org.apache.poi.ss.usermodel.Sheet sheet,
Block block,
java.util.List<java.lang.String> pastEndRefs,
PastEndAction pastEndAction,
java.lang.String replacementValue) |
Takes the given
PastEndAction on all Cells
found inside the given Block on the given Sheet
that contain any of the given expressions. |
Copyright © 2012–2018 Jett Team. All rights reserved.