com.carbonfive.sstemplates.tags
Class BaseTag

java.lang.Object
  extended bycom.carbonfive.sstemplates.tags.BaseTag
All Implemented Interfaces:
SsTemplateTag
Direct Known Subclasses:
CellTag, ChooseTag, DefineTag, ForEachTag, FunctionTag, IfTag, IncludeTag, RowBreakTag, RowTag, SetTag, SheetTag, StyleTag, WhileTag, WorkbookTag

public abstract class BaseTag
extends java.lang.Object
implements SsTemplateTag

Version:
$REVISION
Author:
sivoh

Constructor Summary
BaseTag()
           
 
Method Summary
 void addHssfTag(SsTemplateTag tag)
           
 java.util.List getChildTags()
           
 java.lang.Object parseExpression(java.lang.String expression, java.lang.Class expectedType, SsTemplateContext context)
           
 int parseInt(java.lang.String expression, SsTemplateContext context)
           
 java.lang.Integer parseInteger(java.lang.String expression, SsTemplateContext context)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.carbonfive.sstemplates.tags.SsTemplateTag
getTagName, render
 

Constructor Detail

BaseTag

public BaseTag()
Method Detail

addHssfTag

public void addHssfTag(SsTemplateTag tag)
Specified by:
addHssfTag in interface SsTemplateTag

getChildTags

public java.util.List getChildTags()

parseExpression

public java.lang.Object parseExpression(java.lang.String expression,
                                        java.lang.Class expectedType,
                                        SsTemplateContext context)
                                 throws SsTemplateException
Throws:
SsTemplateException

parseInteger

public java.lang.Integer parseInteger(java.lang.String expression,
                                      SsTemplateContext context)
                               throws SsTemplateException
Throws:
SsTemplateException

parseInt

public int parseInt(java.lang.String expression,
                    SsTemplateContext context)
             throws SsTemplateException
Throws:
SsTemplateException