org.apache.jasper.compiler
クラス ParserController

java.lang.Object
  |
  +--org.apache.jasper.compiler.ParserController

public class ParserController
extends java.lang.Object

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. Note: There's some 'commented out' code that would allow the dynamic generation of a DTD so we could use a validating parser. Should be working, but would like to investigate XML schema before using validating parser.

作成者:
Pierre Delisle

コンストラクタの概要
ParserController(JspCompilationContext ctxt)
           
 
メソッドの概要
 ParseEventListener getParseEventListener()
           
 void parse(java.lang.String inFileName)
          Parse the jsp page provided as an argument.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ParserController

public ParserController(JspCompilationContext ctxt)
メソッドの詳細

getParseEventListener

public ParseEventListener getParseEventListener()

parse

public void parse(java.lang.String inFileName)
           throws java.io.FileNotFoundException,
                  JasperException
Parse the jsp page provided as an argument. First invoked by the compiler, then invoked recursively by the parser event handler for each 'include' directive.
パラメータ:
The - name of the jsp file to be parsed.


Copyright ? 2000 Apache Software Foundation. All Rights Reserved.