org.tp23.jasper.compiler
Class TagEndGenerator
java.lang.Object
|
+--org.tp23.jasper.compiler.GeneratorBase
|
+--org.tp23.jasper.compiler.TagGeneratorBase
|
+--org.tp23.jasper.compiler.TagEndGenerator
- All Implemented Interfaces:
- Generator, ServiceMethodPhase
- public class TagEndGenerator
- extends org.tp23.jasper.compiler.TagGeneratorBase
- implements ServiceMethodPhase
Custom tag support.
- Author:
- Anil K. Vijendran, Paul Hinds
Constructor Summary |
TagEndGenerator(java.lang.String prefix,
java.lang.String shortTagName,
java.util.Hashtable attrs,
javax.servlet.jsp.tagext.TagLibraryInfo tli,
javax.servlet.jsp.tagext.TagInfo ti,
TagLibraries libraries,
java.util.Stack tagHandlerStack,
java.util.Hashtable tagVarNumbers)
|
Method Summary |
protected void |
declareVariables(ServletWriter writer,
javax.servlet.jsp.tagext.VariableInfo[] vi,
boolean declare,
boolean update,
int scope)
|
void |
generate(ServletWriter writer,
java.lang.Class phase)
|
boolean |
generateCoordinates(java.lang.Class phase)
|
protected java.lang.String |
getTagVarName(java.lang.String prefix,
java.lang.String shortTagName)
|
void |
init(JspCompilationContext ctxt)
|
protected void |
setTagHandlerStack(java.util.Stack tagHandlerStack)
Sets the tag handler nesting stack for the current page. |
protected void |
setTagVarNumbers(java.util.Hashtable tagVarNumbers)
Sets the tag variable number repository for the current page. |
protected void |
tagBegin(org.tp23.jasper.compiler.TagGeneratorBase.TagVariableData tvd)
|
protected org.tp23.jasper.compiler.TagGeneratorBase.TagVariableData |
tagEnd()
|
protected org.tp23.jasper.compiler.TagGeneratorBase.TagVariableData |
topTag()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ctxt
protected JspCompilationContext ctxt
TagEndGenerator
public TagEndGenerator(java.lang.String prefix,
java.lang.String shortTagName,
java.util.Hashtable attrs,
javax.servlet.jsp.tagext.TagLibraryInfo tli,
javax.servlet.jsp.tagext.TagInfo ti,
TagLibraries libraries,
java.util.Stack tagHandlerStack,
java.util.Hashtable tagVarNumbers)
generate
public void generate(ServletWriter writer,
java.lang.Class phase)
setTagHandlerStack
protected void setTagHandlerStack(java.util.Stack tagHandlerStack)
- Sets the tag handler nesting stack for the current page.
Called when an instance is created.
setTagVarNumbers
protected void setTagVarNumbers(java.util.Hashtable tagVarNumbers)
- Sets the tag variable number repository for the current page.
Called when an instance is created.
tagBegin
protected void tagBegin(org.tp23.jasper.compiler.TagGeneratorBase.TagVariableData tvd)
tagEnd
protected org.tp23.jasper.compiler.TagGeneratorBase.TagVariableData tagEnd()
topTag
protected org.tp23.jasper.compiler.TagGeneratorBase.TagVariableData topTag()
getTagVarName
protected java.lang.String getTagVarName(java.lang.String prefix,
java.lang.String shortTagName)
declareVariables
protected void declareVariables(ServletWriter writer,
javax.servlet.jsp.tagext.VariableInfo[] vi,
boolean declare,
boolean update,
int scope)
init
public void init(JspCompilationContext ctxt)
throws JasperException
- Specified by:
init
in interface Generator
generateCoordinates
public boolean generateCoordinates(java.lang.Class phase)
- Specified by:
generateCoordinates
in interface Generator