Save This Page
Home » apache-tomcat-6.0.26-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,   parseDirectives,   parseTagFileDirectives,   parseTagFileDirectives
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jasper.compiler.ParserController Detail:
 public Compiler getCompiler() 
 public JspCompilationContext getJspCompilationContext() 
 public Nodes parse(String inFileName) throws FileNotFoundException, JasperException, IOException 
    Parses a JSP page or tag file. This is invoked by the compiler.
 public Nodes parse(String inFileName,
    Node parent,
    URL jarFileUrl) throws FileNotFoundException, JasperException, IOException 
    Processes an include directive with the given path.
 public Nodes parseDirectives(String inFileName) throws FileNotFoundException, JasperException, IOException 
    Parses the directives of a JSP page or tag file. This is invoked by the compiler.
 public Nodes parseTagFileDirectives(String inFileName) throws FileNotFoundException, JasperException, IOException 
Deprecated! Use - #parseTagFileDirectives(String, URL) See https://issues.apache.org/bugzilla/show_bug.cgi?id=46471

    Extracts tag file directive information from the tag file with the given name. This is invoked by the compiler
 public Nodes parseTagFileDirectives(String inFileName,
    URL tagFileJarUrl) throws FileNotFoundException, JasperException, IOException 
    Extracts tag file directive information from the given tag file. This is invoked by the compiler