Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » jasper » compiler » [javadoc | source]
org.apache.jasper.compiler
class: ParserController [javadoc | source]
java.lang.Object
   org.apache.jasper.compiler.ParserController

All Implemented Interfaces:
    TagConstants

Controller for the parsing of a JSP page.

The same ParserController instance is used for a JSP page and any JSP segments included by it (via an include directive), where each segment may be provided in standard or XML syntax. This class selects and invokes the appropriate parser for the JSP page and its included segments.

Constructor:
 public ParserController(JspCompilationContext ctxt,
    Compiler compiler) 
Method from org.apache.jasper.compiler.ParserController Summary:
getCompiler,   getJspCompilationContext,   parse,   parse,   parseTagFileDirectives
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jasper.compiler.ParserController Detail:
 public Compiler getCompiler() 
 public JspCompilationContext getJspCompilationContext() 
 public Node.Nodes parse(String inFileName) throws IOException, JasperException, FileNotFoundException 
    Parses a JSP page or tag file. This is invoked by the compiler.
 public Node.Nodes parse(String inFileName,
    Node parent,
    URL jarFileUrl) throws IOException, JasperException, FileNotFoundException 
    Processes an include directive with the given path.
 public Node.Nodes parseTagFileDirectives(String inFileName) throws IOException, JasperException, FileNotFoundException 
    Extracts tag file directive information from the tag file with the given name. This is invoked by the compiler