net.sf.excelutils.tags
Class PageTag

java.lang.Object
  extended bynet.sf.excelutils.tags.PageTag
All Implemented Interfaces:
ITag

public class PageTag
extends java.lang.Object
implements ITag

PageTag is a class which parse the #page tag Because a bug in POI, you must place a split char in your sheet near the #page tag

Version:
$Revision: 1.8 $ $Date: 2005/10/28 01:19:51 $
Author:
rainsoft

Field Summary
static java.lang.String KEY_PAGE
           
 
Constructor Summary
PageTag()
           
 
Method Summary
 java.lang.String getTagName()
          get the tag name
 boolean hasEndTag()
          tag has #end flag
 int[] parseTag(java.lang.Object context, HSSFSheet sheet, HSSFRow curRow, HSSFCell curCell)
          parse the tag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_PAGE

public static final java.lang.String KEY_PAGE
See Also:
Constant Field Values
Constructor Detail

PageTag

public PageTag()
Method Detail

parseTag

public int[] parseTag(java.lang.Object context,
                      HSSFSheet sheet,
                      HSSFRow curRow,
                      HSSFCell curCell)
Description copied from interface: ITag
parse the tag

Specified by:
parseTag in interface ITag
Parameters:
context - data object
sheet - excel sheet
curRow - excel row
curCell - excel cell
Returns:
int[] {skip number, shift number, break flag}

getTagName

public java.lang.String getTagName()
Description copied from interface: ITag
get the tag name

Specified by:
getTagName in interface ITag
Returns:
str

hasEndTag

public boolean hasEndTag()
Description copied from interface: ITag
tag has #end flag

Specified by:
hasEndTag in interface ITag
Returns:
boolean


Copyright (C) 200-2005 The ExcelUtils Project.