net.sf.jett.event
Class TagEvent

java.lang.Object
  extended by net.sf.jett.event.TagEvent
Direct Known Subclasses:
TagLoopEvent

public class TagEvent
extends java.lang.Object

A TagEvent represents data associated with a "tag processed" event. It contains a reference to the Block of Cells that was processed and the Map of bean names to values used to process it.

Since:
0.3.0
Author:
Randy Gettman

Constructor Summary
TagEvent()
          Constructs a TagEvent with null references.
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> getBeans()
          Returns the Map of bean names to values used to process the block of cells.
 Block getBlock()
          Returns the Block of cells that was processed.
 org.apache.poi.ss.usermodel.Sheet getSheet()
          Returns the Sheet on which the block of cells was processed.
 void setBeans(java.util.Map<java.lang.String,java.lang.Object> beans)
          Sets the Map of bean names to values used to process the block of cells.
 void setBlock(Block block)
          Sets the Block of cells that was processed.
 void setSheet(org.apache.poi.ss.usermodel.Sheet sheet)
          Sets the Sheet on which the block of cells was processed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagEvent

public TagEvent()
Constructs a TagEvent with null references.

Method Detail

getSheet

public org.apache.poi.ss.usermodel.Sheet getSheet()
Returns the Sheet on which the block of cells was processed.

Returns:
The Sheet on which the block of cells was processed.

setSheet

public void setSheet(org.apache.poi.ss.usermodel.Sheet sheet)
Sets the Sheet on which the block of cells was processed.

Parameters:
sheet - The Sheet on which the block of cells was processed.

getBlock

public Block getBlock()
Returns the Block of cells that was processed.

Returns:
The Block of cells that was processed.

setBlock

public void setBlock(Block block)
Sets the Block of cells that was processed.

Parameters:
block - The Block of cells that was processed.

getBeans

public java.util.Map<java.lang.String,java.lang.Object> getBeans()
Returns the Map of bean names to values used to process the block of cells.

Returns:
The Map of bean names to values.

setBeans

public void setBeans(java.util.Map<java.lang.String,java.lang.Object> beans)
Sets the Map of bean names to values used to process the block of cells.

Parameters:
beans - The Map of bean names to values.


Copyright © 2012-2013 Jett Team. All Rights Reserved.