Java Doc for JspC.java in  » Web-Server » Acme-WebServer » org » apache » jasper » 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 » Web Server » Acme WebServer » org.apache.jasper 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.jasper.JspC

JspC
public class JspC implements Options(Code)
Shell for the jspc compiler. Handles all options associated with the command line and creates compilation contexts which it then compiles according to the specified options. This version can process files from a _single_ webapp at once, i.e. a single docbase can be specified. It can be used as an Ant task using:
 <taskdef classname="org.apache.jasper.JspC" name="jasper2" >
 <classpath>
 <pathelement location="${java.home}/../lib/tools.jar"/>
 <fileset dir="${ENV.CATALINA_HOME}/server/lib">
 <include name="*.jar"/>
 </fileset>
 <fileset dir="${ENV.CATALINA_HOME}/common/lib">
 <include name="*.jar"/>
 </fileset>
 <path refid="myjars"/>
 </classpath>
 </taskdef>
 <jasper2 verbose="0"
 package="my.package"
 uriroot="${webapps.dir}/${webapp.name}"
 webXmlFragment="${build.dir}/generated_web.xml"
 outputDir="${webapp.dir}/${webapp.name}/WEB-INF/src/my/package" />
 

author:
   Danno Ferrin
author:
   Pierre Delisle
author:
   Costin Manolache
author:
   Yoav Shapira


Field Summary
final protected static  intALL_WEBXML
    
final protected static  intDEFAULT_DIE_LEVEL
    
final public static  StringDEFAULT_IE_CLASS_ID
    
final protected static  intINC_WEBXML
    
final protected static  StringLIST_ERRORS
    
final protected static  intNO_DIE_LEVEL
    
final protected static  StringSHOW_SUCCESS
    
final protected static  StringSWITCH_CACHE
    
final protected static  StringSWITCH_CLASSPATH
    
final protected static  StringSWITCH_CLASS_NAME
    
final protected static  StringSWITCH_COMPILE
    
final protected static  StringSWITCH_DIE
    
final protected static  StringSWITCH_DUMP_SMAP
    
final protected static  StringSWITCH_ENCODING
    
final protected static  StringSWITCH_FILE_WEBAPP
    
final protected static  StringSWITCH_FULL_STOP
    
final protected static  StringSWITCH_HELP
    
final protected static  StringSWITCH_MAPPED
    
final protected static  StringSWITCH_OUTPUT_DIR
    
final protected static  StringSWITCH_PACKAGE_NAME
    
final protected static  StringSWITCH_POOLING
    
final protected static  StringSWITCH_SMAP
    
final protected static  StringSWITCH_SOURCE
    
final protected static  StringSWITCH_TARGET
    
final protected static  StringSWITCH_TRIM_SPACES
    
final protected static  StringSWITCH_URI_BASE
    
final protected static  StringSWITCH_URI_ROOT
    
final protected static  StringSWITCH_VERBOSE
    
final protected static  StringSWITCH_WEBAPP_INC
    
final protected static  StringSWITCH_WEBAPP_XML
    
final protected static  StringSWITCH_XPOWERED_BY
    
protected  booleanaddWebXmlMappings
    
protected  intargPos
    
protected  Stringargs
    
protected  Mapcache
    
protected  booleancaching
    
protected  booleanclassDebugInfo
    
protected  StringclassPath
    
protected  booleancompile
    
protected  Stringcompiler
    
protected  StringcompilerSourceVM
    
protected  StringcompilerTargetVM
    
protected  JspCServletContextcontext
     The servlet context.
protected static  intdie
    
protected  intdieLevel
    
protected  booleanerrorOnUseBeanInvalidClassAttribute
     Needs better documentation, this data member does.
protected  Listextensions
     The file extensions to be handled as JSP files.
protected  booleanfailOnError
     Throw an exception if there's a compilation error, or swallow it.
protected  booleanfullstop
    
protected  booleangenStringAsCharArray
    
protected  booleanhelpNeeded
    
protected  StringieClassId
    
final protected static  String[]insertBefore
    
protected  StringjavaEncoding
     The java file encoding.
protected  JspConfigjspConfig
    
protected  booleanlistErrors
    
protected  URLClassLoaderloader
    
protected static  Loglog
    
protected  Writermapout
    
protected  booleanmappedFile
    
protected  CharArrayWritermappingout
    
protected  Listpages
     The pages.
protected  booleanpoolingEnabled
    
protected  JspRuntimeContextrctxt
     The runtime context.
protected  FilescratchDir
    
protected  CharArrayWriterservletout
    
protected  booleanshowSuccess
    
protected  booleansmapDumped
    
protected  booleansmapSuppressed
    
protected  TagPluginManagertagPluginManager
    
protected  StringtargetClassName
    
protected  StringtargetPackage
    
protected  TldLocationsCachetldLocationsCache
    
protected  booleantrimSpaces
    
protected  StringuriBase
    
protected  StringuriRoot
    
protected  booleanverbose
    
protected  StringwebxmlFile
    
protected  intwebxmlLevel
    
protected  booleanxpoweredBy
    


Method Summary
protected  voidaddExtension(String extension)
     Adds the given file extension to the list of extensions handled as JSP files.
Parameters:
  extension - The extension to add, e.g.
protected  voidcompleteWebXml()
    
public  voidexecute()
     Executes the compilation.
public  booleangenStringAsCharArray()
     Indicates whether text strings are to be generated as char arrays.
public  voidgenerateWebMapping(String file, JspCompilationContext clctxt)
    
public  MapgetCache()
    
public  intgetCheckInterval()
    
public  booleangetClassDebugInfo()
    
public  StringgetClassPath()
    
public  StringgetCompiler()
     Compiler to use.
public  StringgetCompilerClassName()
     Compiler class name to use.
public  StringgetCompilerSourceVM()
    
public  StringgetCompilerTargetVM()
    
public  booleangetDevelopment()
    
public  booleangetDisplaySourceFragment()
    
public  booleangetErrorOnUseBeanInvalidClassAttribute()
    
public  ListgetExtensions()
     Returns the list of file extensions that are treated as JSP files.
public  booleangetFailOnError()
    
public  booleangetFork()
    
public  StringgetIeClassId()
     Gets the class-id value that is sent to Internet Explorer when using tags.
public  StringgetJavaEncoding()
     Returns the encoding to use for java files.
public  StringgetJspCompilerPath()
    
public  ClassgetJspCompilerPlugin()
    
public  JspConfiggetJspConfig()
     Obtain JSP configuration informantion specified in web.xml.
public  booleangetKeepGenerated()
    
public  booleangetMappedFile()
    
public  intgetModificationTestInterval()
     Modification test interval.
public  ObjectgetProtectionDomain()
    
public  FilegetScratchDir()
    
public  booleangetSendErrorToClient()
    
public  TagPluginManagergetTagPluginManager()
    
public  intgetTagPoolSize()
    
public  TldLocationsCachegetTldLocationsCache()
    
public  booleangetTrimSpaces()
    
protected  voidinitClassLoader(JspCompilationContext clctxt)
     Initializes the classloader as/if needed for the given compilation context.
protected  voidinitServletContext()
    
protected  voidinitWebXml()
    
public  booleanisCaching()
    
public  booleanisPoolingEnabled()
    
public  booleanisSmapDumped()
    
public  booleanisSmapSuppressed()
    
public  booleanisXpoweredBy()
    
protected  voidlocateUriRoot(File f)
     Find the WEB-INF dir by looking up in the directory tree.
public static  voidmain(String arg)
    
protected  voidmergeIntoWebXml()
     Include the generated web.xml inside the webapp's web.xml.
protected  StringnextArg()
    
protected  StringnextFile()
    
protected  voidprocessFile(String file)
    
protected  FileresolveFile(String s)
     Resolves the relative or absolute pathname correctly in both Ant and command-line situations.
public  voidscanFiles(File base)
     Locate all jsp files in the webapp.
public  voidsetAddWebXmlMappings(boolean b)
    
public  voidsetArgs(String[] arg)
    
public  voidsetCaching(boolean caching)
    
public  voidsetClassDebugInfo(boolean b)
    
public  voidsetClassName(String p)
     Class name of the generated file ( without package ).
public  voidsetClassPath(String s)
    
public  voidsetCompile(boolean b)
     Sets the compile flag.
public  voidsetCompiler(String c)
    
public  voidsetCompilerSourceVM(String vm)
    
public  voidsetCompilerTargetVM(String vm)
    
public  voidsetErrorOnUseBeanInvalidClassAttribute(boolean b)
    
public  voidsetFailOnError(boolean b)
     Set the option that throws an exception in case of a compilation error.
public  voidsetGenStringAsCharArray(boolean genStringAsCharArray)
     Determines whether text strings are to be generated as char arrays, which improves performance in some cases.
public  voidsetIeClassId(String ieClassId)
     Sets the class-id value to be sent to Internet Explorer when using tags.
public  voidsetJavaEncoding(String encodingName)
     Sets the encoding to use for java files.
Parameters:
  encodingName - The name, e.g.
public  voidsetJspFiles(String jspFiles)
     Parses comma-separated list of JSP files to be processed.
public  voidsetListErrors(boolean b)
    
public  voidsetOutputDir(String s)
    
public  voidsetPackage(String p)
    
public  voidsetPoolingEnabled(boolean poolingEnabled)
    
public  voidsetSmapDumped(boolean smapDumped)
     Set smapSuppressed flag.
public  voidsetSmapSuppressed(boolean smapSuppressed)
     Set smapSuppressed flag.
public  voidsetTrimSpaces(boolean ts)
    
public  voidsetUriroot(String s)
     Base dir for the webapp.
public  voidsetValidateXml(boolean b)
    
public  voidsetVerbose(int level)
     Sets the verbosity level.
public  voidsetWebXml(String s)
     File where we generate a complete web.xml with the class definitions.
public  voidsetWebXmlFragment(String s)
     File where we generate a web.xml fragment with the class definitions.
public  voidsetXpoweredBy(boolean xpoweredBy)
    

Field Detail
ALL_WEBXML
final protected static int ALL_WEBXML(Code)



DEFAULT_DIE_LEVEL
final protected static int DEFAULT_DIE_LEVEL(Code)



DEFAULT_IE_CLASS_ID
final public static String DEFAULT_IE_CLASS_ID(Code)



INC_WEBXML
final protected static int INC_WEBXML(Code)



LIST_ERRORS
final protected static String LIST_ERRORS(Code)



NO_DIE_LEVEL
final protected static int NO_DIE_LEVEL(Code)



SHOW_SUCCESS
final protected static String SHOW_SUCCESS(Code)



SWITCH_CACHE
final protected static String SWITCH_CACHE(Code)



SWITCH_CLASSPATH
final protected static String SWITCH_CLASSPATH(Code)



SWITCH_CLASS_NAME
final protected static String SWITCH_CLASS_NAME(Code)



SWITCH_COMPILE
final protected static String SWITCH_COMPILE(Code)



SWITCH_DIE
final protected static String SWITCH_DIE(Code)



SWITCH_DUMP_SMAP
final protected static String SWITCH_DUMP_SMAP(Code)



SWITCH_ENCODING
final protected static String SWITCH_ENCODING(Code)



SWITCH_FILE_WEBAPP
final protected static String SWITCH_FILE_WEBAPP(Code)



SWITCH_FULL_STOP
final protected static String SWITCH_FULL_STOP(Code)



SWITCH_HELP
final protected static String SWITCH_HELP(Code)



SWITCH_MAPPED
final protected static String SWITCH_MAPPED(Code)



SWITCH_OUTPUT_DIR
final protected static String SWITCH_OUTPUT_DIR(Code)



SWITCH_PACKAGE_NAME
final protected static String SWITCH_PACKAGE_NAME(Code)



SWITCH_POOLING
final protected static String SWITCH_POOLING(Code)



SWITCH_SMAP
final protected static String SWITCH_SMAP(Code)



SWITCH_SOURCE
final protected static String SWITCH_SOURCE(Code)



SWITCH_TARGET
final protected static String SWITCH_TARGET(Code)



SWITCH_TRIM_SPACES
final protected static String SWITCH_TRIM_SPACES(Code)



SWITCH_URI_BASE
final protected static String SWITCH_URI_BASE(Code)



SWITCH_URI_ROOT
final protected static String SWITCH_URI_ROOT(Code)



SWITCH_VERBOSE
final protected static String SWITCH_VERBOSE(Code)



SWITCH_WEBAPP_INC
final protected static String SWITCH_WEBAPP_INC(Code)



SWITCH_WEBAPP_XML
final protected static String SWITCH_WEBAPP_XML(Code)



SWITCH_XPOWERED_BY
final protected static String SWITCH_XPOWERED_BY(Code)



addWebXmlMappings
protected boolean addWebXmlMappings(Code)



argPos
protected int argPos(Code)



args
protected String args(Code)



cache
protected Map cache(Code)



caching
protected boolean caching(Code)



classDebugInfo
protected boolean classDebugInfo(Code)



classPath
protected String classPath(Code)



compile
protected boolean compile(Code)



compiler
protected String compiler(Code)



compilerSourceVM
protected String compilerSourceVM(Code)



compilerTargetVM
protected String compilerTargetVM(Code)



context
protected JspCServletContext context(Code)
The servlet context.



die
protected static int die(Code)



dieLevel
protected int dieLevel(Code)



errorOnUseBeanInvalidClassAttribute
protected boolean errorOnUseBeanInvalidClassAttribute(Code)
Needs better documentation, this data member does. True by default.



extensions
protected List extensions(Code)
The file extensions to be handled as JSP files. Default list is .jsp and .jspx.



failOnError
protected boolean failOnError(Code)
Throw an exception if there's a compilation error, or swallow it. Default is true to preserve old behavior.



fullstop
protected boolean fullstop(Code)



genStringAsCharArray
protected boolean genStringAsCharArray(Code)



helpNeeded
protected boolean helpNeeded(Code)



ieClassId
protected String ieClassId(Code)



insertBefore
final protected static String[] insertBefore(Code)



javaEncoding
protected String javaEncoding(Code)
The java file encoding. Default is UTF-8. Added per bugzilla 19622.



jspConfig
protected JspConfig jspConfig(Code)



listErrors
protected boolean listErrors(Code)



loader
protected URLClassLoader loader(Code)



log
protected static Log log(Code)



mapout
protected Writer mapout(Code)



mappedFile
protected boolean mappedFile(Code)



mappingout
protected CharArrayWriter mappingout(Code)



pages
protected List pages(Code)
The pages.



poolingEnabled
protected boolean poolingEnabled(Code)



rctxt
protected JspRuntimeContext rctxt(Code)
The runtime context. Maintain a dummy JspRuntimeContext for compiling tag files.



scratchDir
protected File scratchDir(Code)



servletout
protected CharArrayWriter servletout(Code)



showSuccess
protected boolean showSuccess(Code)



smapDumped
protected boolean smapDumped(Code)



smapSuppressed
protected boolean smapSuppressed(Code)



tagPluginManager
protected TagPluginManager tagPluginManager(Code)



targetClassName
protected String targetClassName(Code)



targetPackage
protected String targetPackage(Code)



tldLocationsCache
protected TldLocationsCache tldLocationsCache(Code)
Cache for the TLD locations



trimSpaces
protected boolean trimSpaces(Code)



uriBase
protected String uriBase(Code)



uriRoot
protected String uriRoot(Code)



verbose
protected boolean verbose(Code)



webxmlFile
protected String webxmlFile(Code)



webxmlLevel
protected int webxmlLevel(Code)



xpoweredBy
protected boolean xpoweredBy(Code)





Method Detail
addExtension
protected void addExtension(String extension)(Code)
Adds the given file extension to the list of extensions handled as JSP files.
Parameters:
  extension - The extension to add, e.g. "myjsp"



completeWebXml
protected void completeWebXml()(Code)



execute
public void execute() throws JasperException(Code)
Executes the compilation.
throws:
  JasperException - If an error occurs



genStringAsCharArray
public boolean genStringAsCharArray()(Code)
Indicates whether text strings are to be generated as char arrays. true if text strings are to be generated as char arrays, falseotherwise



generateWebMapping
public void generateWebMapping(String file, JspCompilationContext clctxt) throws IOException(Code)



getCache
public Map getCache()(Code)

See Also:   Options.getCache



getCheckInterval
public int getCheckInterval()(Code)
Background compilation check intervals in seconds



getClassDebugInfo
public boolean getClassDebugInfo()(Code)



getClassPath
public String getClassPath()(Code)



getCompiler
public String getCompiler()(Code)
Compiler to use.



getCompilerClassName
public String getCompilerClassName()(Code)
Compiler class name to use.



getCompilerSourceVM
public String getCompilerSourceVM()(Code)

See Also:   Options.getCompilerSourceVM



getCompilerTargetVM
public String getCompilerTargetVM()(Code)

See Also:   Options.getCompilerTargetVM



getDevelopment
public boolean getDevelopment()(Code)
Is Jasper being used in development mode?



getDisplaySourceFragment
public boolean getDisplaySourceFragment()(Code)



getErrorOnUseBeanInvalidClassAttribute
public boolean getErrorOnUseBeanInvalidClassAttribute()(Code)



getExtensions
public List getExtensions()(Code)
Returns the list of file extensions that are treated as JSP files. The list of extensions



getFailOnError
public boolean getFailOnError()(Code)



getFork
public boolean getFork()(Code)



getIeClassId
public String getIeClassId()(Code)
Gets the class-id value that is sent to Internet Explorer when using tags. Class-id value



getJavaEncoding
public String getJavaEncoding()(Code)
Returns the encoding to use for java files. The default is UTF-8. String The encoding



getJspCompilerPath
public String getJspCompilerPath()(Code)



getJspCompilerPlugin
public Class getJspCompilerPlugin()(Code)



getJspConfig
public JspConfig getJspConfig()(Code)
Obtain JSP configuration informantion specified in web.xml.



getKeepGenerated
public boolean getKeepGenerated()(Code)



getMappedFile
public boolean getMappedFile()(Code)
Are we supporting HTML mapped servlets?



getModificationTestInterval
public int getModificationTestInterval()(Code)
Modification test interval.



getProtectionDomain
public Object getProtectionDomain()(Code)



getScratchDir
public File getScratchDir()(Code)



getSendErrorToClient
public boolean getSendErrorToClient()(Code)



getTagPluginManager
public TagPluginManager getTagPluginManager()(Code)



getTagPoolSize
public int getTagPoolSize()(Code)



getTldLocationsCache
public TldLocationsCache getTldLocationsCache()(Code)



getTrimSpaces
public boolean getTrimSpaces()(Code)



initClassLoader
protected void initClassLoader(JspCompilationContext clctxt) throws IOException(Code)
Initializes the classloader as/if needed for the given compilation context.
Parameters:
  clctxt - The compilation context
throws:
  IOException - If an error occurs



initServletContext
protected void initServletContext()(Code)



initWebXml
protected void initWebXml()(Code)



isCaching
public boolean isCaching()(Code)

See Also:   Options.isCaching



isPoolingEnabled
public boolean isPoolingEnabled()(Code)



isSmapDumped
public boolean isSmapDumped()(Code)
Should SMAP info for JSR45 debugging be dumped to a file?



isSmapSuppressed
public boolean isSmapSuppressed()(Code)
Is the generation of SMAP info for JSR45 debuggin suppressed?



isXpoweredBy
public boolean isXpoweredBy()(Code)



locateUriRoot
protected void locateUriRoot(File f)(Code)
Find the WEB-INF dir by looking up in the directory tree. This is used if no explicit docbase is set, but only files. XXX Maybe we should require the docbase.



main
public static void main(String arg)(Code)



mergeIntoWebXml
protected void mergeIntoWebXml() throws IOException(Code)
Include the generated web.xml inside the webapp's web.xml.



nextArg
protected String nextArg()(Code)



nextFile
protected String nextFile()(Code)



processFile
protected void processFile(String file) throws JasperException(Code)



resolveFile
protected File resolveFile(String s)(Code)
Resolves the relative or absolute pathname correctly in both Ant and command-line situations. If Ant launched us, we should use the basedir of the current project to resolve relative paths. See Bugzilla 35571.
Parameters:
  s - The file The file resolved



scanFiles
public void scanFiles(File base) throws JasperException(Code)
Locate all jsp files in the webapp. Used if no explicit jsps are specified.



setAddWebXmlMappings
public void setAddWebXmlMappings(boolean b)(Code)



setArgs
public void setArgs(String[] arg) throws JasperException(Code)



setCaching
public void setCaching(boolean caching)(Code)

See Also:   Options.isCaching



setClassDebugInfo
public void setClassDebugInfo(boolean b)(Code)



setClassName
public void setClassName(String p)(Code)
Class name of the generated file ( without package ). Can only be used if a single file is converted. XXX Do we need this feature ?



setClassPath
public void setClassPath(String s)(Code)



setCompile
public void setCompile(boolean b)(Code)
Sets the compile flag.
Parameters:
  b - Flag value



setCompiler
public void setCompiler(String c)(Code)



setCompilerSourceVM
public void setCompilerSourceVM(String vm)(Code)

See Also:   Options.getCompilerSourceVM



setCompilerTargetVM
public void setCompilerTargetVM(String vm)(Code)



setErrorOnUseBeanInvalidClassAttribute
public void setErrorOnUseBeanInvalidClassAttribute(boolean b)(Code)



setFailOnError
public void setFailOnError(boolean b)(Code)
Set the option that throws an exception in case of a compilation error.



setGenStringAsCharArray
public void setGenStringAsCharArray(boolean genStringAsCharArray)(Code)
Determines whether text strings are to be generated as char arrays, which improves performance in some cases.
Parameters:
  genStringAsCharArray - true if text strings are to be generated aschar arrays, false otherwise



setIeClassId
public void setIeClassId(String ieClassId)(Code)
Sets the class-id value to be sent to Internet Explorer when using tags.
Parameters:
  ieClassId - Class-id value



setJavaEncoding
public void setJavaEncoding(String encodingName)(Code)
Sets the encoding to use for java files.
Parameters:
  encodingName - The name, e.g. "UTF-8"



setJspFiles
public void setJspFiles(String jspFiles)(Code)
Parses comma-separated list of JSP files to be processed. If the argument is null, nothing is done.

Each file is interpreted relative to uriroot, unless it is absolute, in which case it must start with uriroot.


Parameters:
  jspFiles - Comma-separated list of JSP files to be processed



setListErrors
public void setListErrors(boolean b)(Code)



setOutputDir
public void setOutputDir(String s)(Code)



setPackage
public void setPackage(String p)(Code)



setPoolingEnabled
public void setPoolingEnabled(boolean poolingEnabled)(Code)



setSmapDumped
public void setSmapDumped(boolean smapDumped)(Code)
Set smapSuppressed flag.



setSmapSuppressed
public void setSmapSuppressed(boolean smapSuppressed)(Code)
Set smapSuppressed flag.



setTrimSpaces
public void setTrimSpaces(boolean ts)(Code)



setUriroot
public void setUriroot(String s)(Code)
Base dir for the webapp. Used to generate class names and resolve includes



setValidateXml
public void setValidateXml(boolean b)(Code)



setVerbose
public void setVerbose(int level)(Code)
Sets the verbosity level. The actual number doesn't matter: if it's greater than zero, the verbose flag will be true.
Parameters:
  level - Positive means verbose



setWebXml
public void setWebXml(String s)(Code)
File where we generate a complete web.xml with the class definitions.



setWebXmlFragment
public void setWebXmlFragment(String s)(Code)
File where we generate a web.xml fragment with the class definitions.



setXpoweredBy
public void setXpoweredBy(boolean xpoweredBy)(Code)



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.