|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.jasper.compiler.ParserController
Controller for the parsing of a JSP page.
A translation unit (JSP source file and any files included via the include directive) may involve the processing of JSP pages written with different syntaxes (currently the original JSP syntax, as well as the XML syntax (as of JSP 1.2)). This class encapsulates the behavior related to the selection and invocation of the proper parser.
Constructor Summary | |
ParserController(JspCompilationContext ctxt,
Compiler compiler)
|
Method Summary | |
Compiler |
getCompiler()
|
JspCompilationContext |
getJspCompilationContext()
|
Node.Nodes |
parse(java.lang.String inFileName)
Parses a jsp file. |
Node.Nodes |
parse(java.lang.String inFileName,
Node parent)
Parses a jsp file. |
Node.Nodes |
parseTagFile(java.lang.String inFileName)
Parses a tag file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ParserController(JspCompilationContext ctxt, Compiler compiler)
Method Detail |
public JspCompilationContext getJspCompilationContext()
public Compiler getCompiler()
public Node.Nodes parse(java.lang.String inFileName) throws java.io.FileNotFoundException, JasperException, java.io.IOException
inFileName
- The name of the JSP file to be parsed.
java.io.FileNotFoundException
JasperException
java.io.IOException
public Node.Nodes parse(java.lang.String inFileName, Node parent) throws java.io.FileNotFoundException, JasperException, java.io.IOException
inFileName
- The name of the JSP file to be parsed.parent
- The node for the 'include' directive.
java.io.FileNotFoundException
JasperException
java.io.IOException
public Node.Nodes parseTagFile(java.lang.String inFileName) throws java.io.FileNotFoundException, JasperException, java.io.IOException
inFileName
- The name of the tag file to be parsed.
java.io.FileNotFoundException
JasperException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |