|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.apache.sling.maven.jspc.JspcMojo
public class JspcMojo
The JspcMojo
is implements the Sling Maven JspC goal
jspc
compiling JSP into the target and creating a component
descriptor for Declarative Services to use the JSP with the help of the
appropriate adapter as component.
Field Summary |
---|
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
JspcMojo()
|
Method Summary | |
---|---|
void |
execute()
|
boolean |
genStringAsCharArray()
Are Text strings to be generated as char arrays? |
Map<String,TreeNode> |
getCache()
|
int |
getCheckInterval()
|
boolean |
getClassDebugInfo()
Should we include debug information in compiled class? |
String |
getClassPath()
What classpath should I use while compiling the servlets generated from JSP files? |
String |
getCompiler()
Compiler to use. |
String |
getCompilerClassName()
Java compiler class to use. |
String |
getCompilerSourceVM()
Compiler source VM, e.g. |
String |
getCompilerTargetVM()
The compiler target VM, e.g. |
boolean |
getDevelopment()
|
boolean |
getDisplaySourceFragment()
Should we include a source fragment in exception messages, which could be displayed to the developer ? |
boolean |
getErrorOnUseBeanInvalidClassAttribute()
Returns true if Jasper issues a compilation error instead of a runtime Instantiation error if the class attribute specified in useBean action is invalid. |
boolean |
getFork()
boolean flag to tell Ant whether to fork JSP page compilations. |
String |
getIeClassId()
Class ID for use in the plugin tag when the browser is IE. |
String |
getJavaEncoding()
Java platform encoding to generate the JSP page servlet. |
ClassLoader |
getJspClassLoader()
The classloader to use when compiling servlets generated from JSP files and to load the servlets. |
JspConfig |
getJspConfig()
Obtain JSP configuration informantion specified in web.xml. |
boolean |
getKeepGenerated()
Are we keeping generated code around? |
boolean |
getMappedFile()
Are we supporting HTML mapped servlets? |
int |
getModificationTestInterval()
|
String |
getScratchDir()
What is my scratch dir? |
boolean |
getSendErrorToClient()
Should errors be sent to client or thrown into stderr? |
TagPluginManager |
getTagPluginManager()
Obtain a Tag Plugin Manager |
TldLocationsCache |
getTldLocationsCache()
The cache for the location of the TLD's for the various tag libraries 'exposed' by the web application. |
boolean |
getTrimSpaces()
Should white spaces between directives or actions be trimmed? |
boolean |
isCaching()
|
boolean |
isPoolingEnabled()
Returns true if tag handler pooling is enabled, false otherwise. |
boolean |
isSmapDumped()
Indicates whether SMAP info for JSR45 debugging should be dumped to a file. |
boolean |
isSmapSuppressed()
Is the generation of SMAP info for JSR45 debugging suppressed? |
boolean |
isXpoweredBy()
Is generation of X-Powered-By response header enabled/disabled? |
void |
scanFiles(File base)
Locate all jsp files in the webapp. |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
---|
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JspcMojo()
Method Detail |
---|
public void execute() throws org.apache.maven.plugin.MojoExecutionException
execute
in interface org.apache.maven.plugin.Mojo
org.apache.maven.plugin.MojoExecutionException
public void scanFiles(File base)
public boolean genStringAsCharArray()
Options
genStringAsCharArray
in interface Options
public boolean isCaching()
public Map<String,TreeNode> getCache()
public int getCheckInterval()
public boolean getClassDebugInfo()
Options
getClassDebugInfo
in interface Options
public String getClassPath()
Options
getClassPath
in interface Options
public String getCompiler()
Options
getCompiler
in interface Options
public String getCompilerClassName()
Options
getCompilerClassName
in interface Options
public String getCompilerSourceVM()
Options
getCompilerSourceVM
in interface Options
public String getCompilerTargetVM()
Options
getCompilerTargetVM
in interface Options
public boolean getDevelopment()
public boolean getErrorOnUseBeanInvalidClassAttribute()
Options
getErrorOnUseBeanInvalidClassAttribute
in interface Options
public boolean getFork()
Options
getFork
in interface Options
public String getIeClassId()
Options
getIeClassId
in interface Options
public String getJavaEncoding()
Options
getJavaEncoding
in interface Options
public ClassLoader getJspClassLoader()
Options
If this method returns null
the
JasperLoader
class is used.
getJspClassLoader
in interface Options
ClassLoader
to use for compilation and JSP
loading or null
to use the JasperLoader
.public JspConfig getJspConfig()
Options
getJspConfig
in interface Options
public boolean getKeepGenerated()
Options
getKeepGenerated
in interface Options
public boolean getMappedFile()
Options
getMappedFile
in interface Options
public int getModificationTestInterval()
public String getScratchDir()
Options
getScratchDir
in interface Options
public boolean getSendErrorToClient()
Options
getSendErrorToClient
in interface Options
public TagPluginManager getTagPluginManager()
Options
getTagPluginManager
in interface Options
public TldLocationsCache getTldLocationsCache()
Options
getTldLocationsCache
in interface Options
public boolean getTrimSpaces()
Options
getTrimSpaces
in interface Options
public boolean isPoolingEnabled()
Options
isPoolingEnabled
in interface Options
public boolean isSmapDumped()
Options
isSmapDumped
in interface Options
public boolean isSmapSuppressed()
Options
isSmapSuppressed
in interface Options
public boolean isXpoweredBy()
Options
isXpoweredBy
in interface Options
public boolean getDisplaySourceFragment()
Options
getDisplaySourceFragment
in interface Options
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |