|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--org.apache.jasper.CommandLineContext
Holds data used on a per-page compilation context that would otherwise spill over to other pages being compiled. Things like the taglib classloaders and directives.
クラス org.apache.jasper.JspCompilationContext から継承した内部クラス |
JspCompilationContext.Interface1 |
コンストラクタの概要 | |
CommandLineContext(java.lang.String newClassPath,
java.lang.String newJspFile,
java.lang.String newUriBase,
java.lang.String newUriRoot,
boolean newErrPage,
Options newOptions)
|
メソッドの概要 | |
Compiler |
createCompiler()
Create a "Compiler" object based on some init param data. |
java.lang.ClassLoader |
getClassLoader()
What class loader to use for loading classes while compiling this JSP? |
java.lang.String |
getClassPath()
The classpath that is passed off to the Java compiler. |
java.lang.String |
getContentType()
The content type of this JSP. |
java.lang.String |
getJavacOutputDir()
The scratch directory to generate code into for javac. |
java.lang.String |
getJspFile()
Path of the JSP URI. |
Options |
getOptions()
Get hold of the Options object for this context. |
java.lang.String |
getOutputDir()
The scratch directory to generate code into. |
JspReader |
getReader()
Get the input reader for the JSP text. |
java.lang.String |
getRealPath(java.lang.String path)
Gets the actual path of a URI relative to the context of the compilation. |
java.net.URL |
getResource(java.lang.String res)
|
java.io.InputStream |
getResourceAsStream(java.lang.String res)
Gets a resource as a stream, relative to the meanings of this context's implementation. |
java.lang.String |
getServletClassName()
Just the class name (does not include package name) of the generated class. |
java.lang.String |
getServletJavaFileName()
Full path name of the Java file into which the servlet is being generated. |
java.lang.String |
getServletPackageName()
The package name for the generated class. |
java.lang.String[] |
getTldLocation(java.lang.String uri)
Get the 'location' of the TLD associated with a given taglib 'uri'. |
ServletWriter |
getWriter()
Where is the servlet being generated? |
boolean |
isErrorPage()
Are we processing something that has been declared as an errorpage? |
boolean |
isOutputInDirs()
|
boolean |
keepGenerated()
Are we keeping generated code around? |
java.lang.String |
resolveRelativeUri(java.lang.String uri)
Get the full value of a URI relative to this compilations context uses current file as the base. |
void |
setClassLoader(java.net.URLClassLoader loader)
|
void |
setContentType(java.lang.String contentType)
|
void |
setErrorPage(boolean isErrPage)
|
void |
setOutputInDirs(boolean newValue)
|
void |
setReader(JspReader reader)
|
void |
setServletClassName(java.lang.String servletClassName)
|
void |
setServletJavaFileName(java.lang.String servletJavaFileName)
|
void |
setServletPackageName(java.lang.String servletPackageName)
|
void |
setWriter(ServletWriter writer)
|
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public CommandLineContext(java.lang.String newClassPath, java.lang.String newJspFile, java.lang.String newUriBase, java.lang.String newUriRoot, boolean newErrPage, Options newOptions) throws JasperException
メソッドの詳細 |
public java.lang.String getClassPath()
JspCompilationContext
内の getClassPath
public JspReader getReader()
JspCompilationContext
内の getReader
public ServletWriter getWriter()
JspCompilationContext
内の getWriter
public java.lang.ClassLoader getClassLoader()
JspCompilationContext
内の getClassLoader
public boolean isErrorPage()
JspCompilationContext
内の isErrorPage
public java.lang.String getOutputDir()
JspCompilationContext
内の getOutputDir
public java.lang.String getJavacOutputDir()
JspCompilationContext
内の getJavacOutputDir
public java.lang.String getJspFile()
JspCompilationContext
内の getJspFile
public java.lang.String getServletClassName()
JspCompilationContext
内の getServletClassName
public java.lang.String getServletPackageName()
JspCompilationContext
内の getServletPackageName
public java.lang.String getServletJavaFileName()
JspCompilationContext
内の getServletJavaFileName
public boolean keepGenerated()
JspCompilationContext
内の keepGenerated
public java.lang.String getContentType()
JspCompilationContext
内の getContentType
public Options getOptions()
JspCompilationContext
内の getOptions
public void setClassLoader(java.net.URLClassLoader loader)
public void setContentType(java.lang.String contentType)
JspCompilationContext
内の setContentType
public void setReader(JspReader reader)
JspCompilationContext
内の setReader
public void setWriter(ServletWriter writer)
JspCompilationContext
内の setWriter
public void setServletClassName(java.lang.String servletClassName)
JspCompilationContext
内の setServletClassName
public void setServletPackageName(java.lang.String servletPackageName)
JspCompilationContext
内の setServletPackageName
public void setServletJavaFileName(java.lang.String servletJavaFileName)
JspCompilationContext
内の setServletJavaFileName
public void setErrorPage(boolean isErrPage)
JspCompilationContext
内の setErrorPage
public void setOutputInDirs(boolean newValue)
public boolean isOutputInDirs()
public Compiler createCompiler() throws JasperException
JspCompilationContext
内の createCompiler
public java.lang.String resolveRelativeUri(java.lang.String uri)
JspCompilationContext
内の resolveRelativeUri
public java.io.InputStream getResourceAsStream(java.lang.String res)
JspCompilationContext
内の getResourceAsStream
public java.net.URL getResource(java.lang.String res) throws java.net.MalformedURLException
JspCompilationContext
内の getResource
public java.lang.String getRealPath(java.lang.String path)
JspCompilationContext
内の getRealPath
public java.lang.String[] getTldLocation(java.lang.String uri) throws JasperException
JspCompilationContext
の記述: JspCompilationContext
内の getTldLocation
org.apache.jasper.JspCompilationContext
からコピーされたタグ:
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |