Java Doc for JspCompiler.java in » EJB-Server-resin-3.1.5 » resin » com » caucho » jsp » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Java Source Code / Java Documentation
1.
6.0 JDK Core
2.
6.0 JDK Modules
3.
6.0 JDK Modules com.sun
4.
6.0 JDK Modules com.sun.java
5.
6.0 JDK Modules sun
6.
6.0 JDK Platform
7.
Ajax
8.
Apache Harmony Java SE
9.
Aspect oriented
10.
Authentication Authorization
11.
Blogger System
12.
Build
13.
Byte Code
14.
Cache
15.
Chart
16.
Chat
17.
Code Analyzer
18.
Collaboration
19.
Content Management System
20.
Database Client
21.
Database DBMS
22.
Database JDBC Connection Pool
23.
Database ORM
24.
Development
25.
EJB Server geronimo
26.
EJB Server GlassFish
27.
EJB Server JBoss 4.2.1
28.
EJB Server resin 3.1.5
29.
ERP CRM Financial
30.
ESB
31.
Forum
32.
GIS
33.
Graphic Library
34.
Groupware
35.
HTML Parser
36.
IDE
37.
IDE Eclipse
38.
IDE Netbeans
39.
Installer
40.
Internationalization Localization
41.
Inversion of Control
42.
Issue Tracking
43.
J2EE
44.
JBoss
45.
JMS
46.
JMX
47.
Library
48.
Mail Clients
49.
Net
50.
Parser
51.
PDF
52.
Portal
53.
Profiler
54.
Project Management
55.
Report
56.
RSS RDF
57.
Rule Engine
58.
Science
59.
Scripting
60.
Search Engine
61.
Security
62.
Sevlet Container
63.
Source Control
64.
Swing Library
65.
Template Engine
66.
Test Coverage
67.
Testing
68.
UML
69.
Web Crawler
70.
Web Framework
71.
Web Mail
72.
Web Server
73.
Web Services
74.
Web Services apache cxf 2.0.1
75.
Web Services AXIS2
76.
Wiki Engine
77.
Workflow Engines
78.
XML
79.
XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation
»
EJB Server resin 3.1.5
»
resin
»
com.caucho.jsp
Source Cross Reference
Class Diagram
Java Document (Java Doc)
java.lang
.Object
com.caucho.jsp
.JspCompiler
JspCompiler
public
class JspCompiler implements
EnvironmentBean
(Code)
Compilation interface for JSP pages.
Inner Class :
public
class ApplicationConfig
Constructor Summary
public
JspCompiler
()
Method Summary
public
void
addCoda
(
String
coda)
Adds a coda include.
void
addPending
(
JspCompilerInstance
pending)
Adds a pending compilation.
public
void
addPrelude
(
String
prelude)
Adds a prelude include.
public
boolean
addTag
(
String
className)
Adds a new tag being compiled.
public
Page
compile
(Path jspPath,
String
uri)
Compiles the JSP file specified with jspFile.
public
void
compileBatch
(
String
[] pendingClasses)
public
void
compilePath
(
ArrayList
<
String
> pendingClasses,
String
uri)
void
compilePending
()
Compiles pending compilations.
public
int
configureFromArgs
(
String
[] args)
Callable by applications to initialize the compiler.
public
ApplicationConfig
createApplication
()
Initialize values based on the ServletContext.
public
JspPropertyGroup
createJsp
()
public
WebApp
createWebApp
(Path rootDirectory)
Initialize values based on the ServletContext.
public
Path
getAppDir
()
Gets the source webApp directory.
public
Path
getClassDir
()
Gets the destination class directory.
public
ClassLoader
getClassLoader
()
Returns the classloader for configuration.
public
JspCompilerInstance
getCompilerInstance
(Path jspPath,
String
uri)
Returns the compilation instance.
public
JspCompilerInstance
getCompilerInstance
(Path jspPath,
String
uri,
String
className)
Returns the compilation instance.
public
JspPropertyGroup
getJspPropertyGroup
()
public
JspResourceManager
getResourceManager
()
Gets the resource manager.
public
TagFileManager
getTagFileManager
()
Gets the tag file manager.
public
TaglibManager
getTaglibManager
()
public
WebApp
getWebApp
()
Returns the app.
public
boolean
hasRecursiveCompile
()
Has recursive compile.
public
void
init
()
public
boolean
isXml
()
True when XML is the default parser.
public
Object
loadClass
(
String
className, boolean autoCompile)
Loads an already-compiled JSP class.
public
Page
loadPage
(
String
className, boolean isAutoCompile)
Loads an already-compiled JSP class.
public
Page
loadStatic
(
String
className, boolean isSession)
Loads an already-compiled JSP class.
public
static void
main
(
String
[] args)
public
void
setAppDir
(Path path)
Sets the source webApp directory.
public
void
setClassDir
(Path path)
Sets the destination class directory.
public
void
setClassDirectory
(Path path)
Sets the destination class directory.
public
void
setResourceManager
(
JspResourceManager
manager)
Sets the resource manager.
public
void
setWebApp
(
WebApp
app)
Initialize values based on the ServletContext.
public
void
setXml
(boolean isXml)
Set true when XML is the default parser.
public
static
String
urlToClassName
(
String
name)
Mangles the name.
Constructor Detail
JspCompiler
public
JspCompiler()
(Code)
Method Detail
addCoda
public
void addCoda(
String
coda)
(Code)
Adds a coda include.
addPending
void addPending(
JspCompilerInstance
pending)
(Code)
Adds a pending compilation.
addPrelude
public
void addPrelude(
String
prelude)
(Code)
Adds a prelude include.
addTag
public
boolean addTag(
String
className)
(Code)
Adds a new tag being compiled.
compile
public
Page
compile(Path jspPath,
String
uri) throws
Exception
(Code)
Compiles the JSP file specified with jspFile.
Parameters:
jspPath - the path to the JSP source
Parameters:
uri - the uri for the JSP file a JspPage instance
compileBatch
public
void compileBatch(
String
[] pendingClasses) throws
Exception
(Code)
compilePath
public
void compilePath(
ArrayList
<
String
> pendingClasses,
String
uri) throws
Exception
(Code)
compilePending
void compilePending() throws
Exception
(Code)
Compiles pending compilations.
configureFromArgs
public
int configureFromArgs(
String
[] args) throws
Exception
(Code)
Callable by applications to initialize the compiler. This call will configure the JspCompiler, but not start any compilations.
createApplication
public
ApplicationConfig createApplication()
(Code)
Initialize values based on the ServletContext. When the calling code has the ServletContext available, it can take advantage of it.
createJsp
public
JspPropertyGroup
createJsp()
(Code)
Sets the JspPropertyGroup
createWebApp
public
WebApp
createWebApp(Path rootDirectory)
(Code)
Initialize values based on the ServletContext. When the calling code has the ServletContext available, it can take advantage of it.
getAppDir
public
Path getAppDir()
(Code)
Gets the source webApp directory.
getClassDir
public
Path getClassDir()
(Code)
Gets the destination class directory.
getClassLoader
public
ClassLoader
getClassLoader()
(Code)
Returns the classloader for configuration.
getCompilerInstance
public
JspCompilerInstance
getCompilerInstance(Path jspPath,
String
uri) throws
Exception
(Code)
Returns the compilation instance.
getCompilerInstance
public
JspCompilerInstance
getCompilerInstance(Path jspPath,
String
uri,
String
className) throws
Exception
(Code)
Returns the compilation instance.
getJspPropertyGroup
public
JspPropertyGroup
getJspPropertyGroup()
(Code)
Sets the JspPropertyGroup
getResourceManager
public
JspResourceManager
getResourceManager()
(Code)
Gets the resource manager.
getTagFileManager
public
TagFileManager
getTagFileManager()
(Code)
Gets the tag file manager.
getTaglibManager
public
TaglibManager
getTaglibManager() throws
JspParseException
,
IOException
(Code)
getWebApp
public
WebApp
getWebApp()
(Code)
Returns the app.
hasRecursiveCompile
public
boolean hasRecursiveCompile()
(Code)
Has recursive compile.
init
public
void init() throws
JspParseException
,
IOException
(Code)
isXml
public
boolean isXml()
(Code)
True when XML is the default parser.
loadClass
public
Object
loadClass(
String
className, boolean autoCompile) throws
Throwable
(Code)
Loads an already-compiled JSP class.
Parameters:
className - the mangled classname for the JSP file.
loadPage
public
Page
loadPage(
String
className, boolean isAutoCompile) throws
Throwable
(Code)
Loads an already-compiled JSP class.
Parameters:
className - the mangled classname for the JSP file.
loadStatic
public
Page
loadStatic(
String
className, boolean isSession) throws
Exception
(Code)
Loads an already-compiled JSP class.
Parameters:
className - the mangled classname for the JSP file.
main
public
static void main(
String
[] args) throws
Exception
(Code)
setAppDir
public
void setAppDir(Path path)
(Code)
Sets the source webApp directory.
setClassDir
public
void setClassDir(Path path)
(Code)
Sets the destination class directory.
setClassDirectory
public
void setClassDirectory(Path path)
(Code)
Sets the destination class directory.
setResourceManager
public
void setResourceManager(
JspResourceManager
manager)
(Code)
Sets the resource manager.
setWebApp
public
void setWebApp(
WebApp
app)
(Code)
Initialize values based on the ServletContext. When the calling code has the ServletContext available, it can take advantage of it.
setXml
public
void setXml(boolean isXml)
(Code)
Set true when XML is the default parser.
urlToClassName
public
static
String
urlToClassName(
String
name)
(Code)
Mangles the name.
Methods inherited from
java.lang.Object
native
protected
Object
clone() throws
CloneNotSupportedException
(Code)
(Java Doc)
public
boolean equals(
Object
obj)
(Code)
(Java Doc)
protected
void finalize() throws
Throwable
(Code)
(Java Doc)
final native
public
Class
> getClass()
(Code)
(Java Doc)
native
public
int hashCode()
(Code)
(Java Doc)
final native
public
void notify()
(Code)
(Java Doc)
final native
public
void notifyAll()
(Code)
(Java Doc)
public
String
toString()
(Code)
(Java Doc)
final native
public
void wait(long timeout) throws
InterruptedException
(Code)
(Java Doc)
final
public
void wait(long timeout, int nanos) throws
InterruptedException
(Code)
(Java Doc)
final
public
void wait() throws
InterruptedException
(Code)
(Java Doc)
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.