org.apache.jasper.compiler
クラス JspCompiler

java.lang.Object
  |
  +--org.apache.jasper.compiler.Compiler
        |
        +--org.apache.jasper.compiler.JspCompiler
すべての実装インタフェース:
Mangler

public class JspCompiler
extends Compiler
implements Mangler

JspCompiler is an implementation of Compiler with a funky code mangling and code generation scheme. The reason that it is both a sub-class of compiler and an implementation of mangler is because the isOutDated method that is overridden and the name mangulation both depend on the actual existance of other class and java files. I.e. the value of a mangled name is a function of both the name to be mangled and also of the state of the scratchdir.

作成者:
Anil K. Vijendran

クラス org.apache.jasper.compiler.Compiler から継承したフィールド
ctxt, javac, mangler
 
コンストラクタの概要
JspCompiler(JspCompilationContext ctxt)
           
 
メソッドの概要
 java.lang.String getClassFileName()
          The full name of the .class file ( without version number)
 java.lang.String getClassName()
          The class name ( without package ) of the generated servlet, including the version number
 java.lang.String getJavaFileName()
          The full name of the .java file, including version number ( based on className and outputDir )
 boolean isOutDated()
          Determines whether the current JSP class is older than the JSP file from whence it came
 
クラス org.apache.jasper.compiler.Compiler から継承したメソッド
changeEncodingIfNecessary, compile, removeGeneratedFiles, setJavaCompiler, setMangler
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

JspCompiler

public JspCompiler(JspCompilationContext ctxt)
            throws JasperException
メソッドの詳細

getClassName

public final java.lang.String getClassName()
インタフェース Mangler の記述:
The class name ( without package ) of the generated servlet, including the version number
定義:
インタフェース Mangler 内の getClassName

getJavaFileName

public final java.lang.String getJavaFileName()
インタフェース Mangler の記述:
The full name of the .java file, including version number ( based on className and outputDir )
定義:
インタフェース Mangler 内の getJavaFileName

getClassFileName

public final java.lang.String getClassFileName()
インタフェース Mangler の記述:
The full name of the .class file ( without version number)
定義:
インタフェース Mangler 内の getClassFileName

isOutDated

public boolean isOutDated()
Determines whether the current JSP class is older than the JSP file from whence it came
オーバーライド:
クラス Compiler 内の isOutDated


Copyright ? 2000 Apache Software Foundation. All Rights Reserved.