org.makumba.analyser.interfaces
Interface JspAnalyzer

All Known Implementing Classes:
JspRelationsAnalyzer, JspxJspAnalyzer, MakumbaJspAnalyzer

public interface JspAnalyzer

The interface of a JSP analyzer.

Version:
$Id: JspAnalyzer.java 4488 2010-01-29 09:02:05Z manuel_gay $
Author:

Method Summary
 void elExpression(ELData ed, Object status)
          A EL expression (see Expression)
 Object endPage(Object status)
          The end of the page
 void endTag(TagData td, Object status)
          End of a body tag, like
 Object makeStatusHolder(Object initStatus)
          Makes a status holder, which is passed to all other methods
 void simpleTag(TagData td, Object status)
          A simple tag, like <
 void startTag(TagData td, Object status)
          Start of a body tag
 void systemTag(TagData td, Object status)
          A system tag, like <%@
 

Method Detail

makeStatusHolder

Object makeStatusHolder(Object initStatus)
Makes a status holder, which is passed to all other methods

Parameters:
initStatus - an initial status to be passed to the JspAnalyzer. for example, the pageContext for an example-based analyzer

startTag

void startTag(TagData td,
              Object status)
Start of a body tag

Parameters:
td - the TagData holding the parsed data
status - the status of the parsing
See Also:
endTag(TagData, Object)

endTag

void endTag(TagData td,
            Object status)
End of a body tag, like

Parameters:
td - the TagData holdking the parsed data
status - the status of the parsing

simpleTag

void simpleTag(TagData td,
               Object status)
A simple tag, like <... />

Parameters:
td - the TagData holdking the parsed data
status - the status of the parsing

systemTag

void systemTag(TagData td,
               Object status)
A system tag, like <%@ ...%>

Parameters:
td - the TagData holding the parsed data
status - the status of the parsing

elExpression

void elExpression(ELData ed,
                  Object status)
A EL expression (see Expression)

Parameters:
td -
status - the status of the parsing

endPage

Object endPage(Object status)
The end of the page

Parameters:
status - the status of the parsing
Returns:
The result of the analysis