net.sf.excelutils.tags
Class IfTag
java.lang.Object
net.sf.excelutils.tags.IfTag
- All Implemented Interfaces:
- ITag
- public class IfTag
- extends java.lang.Object
- implements ITag
IfTag is a class which parse #if #else #end
- Version:
- $Revision: 1.9 $ $Date: 2005/11/04 08:11:28 $
- Author:
- rainsoft
|
Field Summary |
static java.lang.String |
KEY_END
|
static java.lang.String |
KEY_IF
|
|
Constructor Summary |
IfTag()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY_IF
public static final java.lang.String KEY_IF
- See Also:
- Constant Field Values
KEY_END
public static final java.lang.String KEY_END
- See Also:
- Constant Field Values
IfTag
public IfTag()
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 objectsheet - excel sheetcurRow - excel rowcurCell - 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
main
public static void main(java.lang.String[] args)
Copyright (C) 200£³-2005 The ExcelUtils Project.