org.makumba.commons
Class ParseStatus

java.lang.Object
  extended by org.makumba.commons.ParseStatus
Direct Known Subclasses:
RelationParseStatus

public class ParseStatus
extends Object

Class used to store the status of the parser

Version:
$Id: ParseStatus.java 5125 2010-05-18 17:57:27Z rosso_nero $
Author:
Cristian Bogdan

Field Summary
(package private)  List<AnalysableElement> elements
           
(package private)  GraphTS formGraph
           
(package private)  String formMakumbaURI
           
(package private)  String formPrefix
           
(package private)  String makumbaPrefix
           
(package private)  String makumbaURI
           
protected  PageCache pageCache
           
(package private)  List<AnalysableTag> parents
           
 
Constructor Summary
ParseStatus()
           
 
Method Summary
(package private)  void addExpression(AnalysableExpression e, ELData ed)
          Caches useful information for an EL expression in the page cache, for later re-use
(package private)  void addTag(AnalysableTag t, TagData td)
          Caches useful information for a tag in its TagData object and caches it in the pageCache.
 void end(TagData td)
          Handles the end of tags
 void endPage()
          Ends the analysis when the end of the page is reached.
 void start(AnalysableTag t)
          Handles the start of a tag by adding it to the parent list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

makumbaPrefix

String makumbaPrefix

formPrefix

String formPrefix

makumbaURI

String makumbaURI

formMakumbaURI

String formMakumbaURI

elements

List<AnalysableElement> elements

parents

List<AnalysableTag> parents

pageCache

protected PageCache pageCache

formGraph

GraphTS formGraph
Constructor Detail

ParseStatus

public ParseStatus()
Method Detail

addTag

void addTag(AnalysableTag t,
            TagData td)
Caches useful information for a tag in its TagData object and caches it in the pageCache.

Parameters:
t - the tag to be added
td - the TagData where to which the tag should be added

addExpression

void addExpression(AnalysableExpression e,
                   ELData ed)
Caches useful information for an EL expression in the page cache, for later re-use

Parameters:
e - the AnalysableExpression
ed - the ELData

start

public void start(AnalysableTag t)
Handles the start of a tag by adding it to the parent list

Parameters:
t - the tag to be added

end

public void end(TagData td)
Handles the end of tags

Parameters:
td - the TagData containing the information collected for the tag

endPage

public void endPage()
Ends the analysis when the end of the page is reached.