|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides access to the JET compiler state. Saving the compiler state, and then passing it
to a new instances of JET2Compiler
will allow the compiler to do a correct incremental
compilation.
Method Summary | |
void |
addTemplate(String templatePath,
String outputJavaClassName)
Add the template and fully qualified Java class name to the template map. |
void |
addTemplateTagLibraryReferences(String templatePath,
TagLibraryReference[] references)
|
void |
clear()
Clear the compiler state, returning it to its initial condition. |
String[] |
getAllReferencedTagLibraryIds()
|
String |
getTemplateFromClass(String qualifiedName)
Return the project relative template name given a fully qualified class name. |
Map |
getTemplateMap()
Return a map of fully qualified Java class names keyed by project relative template path (as a string). |
void |
removeTemplate(String templatePath)
Remove the template from the template map. |
void |
setProjectTagLibraryReferences(TagLibraryReference[] tagLibraryReferences)
|
Method Detail |
public Map getTemplateMap()
public void addTemplate(String templatePath, String outputJavaClassName)
templatePath
- the project relative template path.outputJavaClassName
- the fully qualified class name of the compiled Java output.public void removeTemplate(String templatePath)
templatePath
- the project relative template path.public void clear()
public String getTemplateFromClass(String qualifiedName)
qualifiedName
- a fully qualified Java class name
null
public void setProjectTagLibraryReferences(TagLibraryReference[] tagLibraryReferences)
public void addTemplateTagLibraryReferences(String templatePath, TagLibraryReference[] references)
public String[] getAllReferencedTagLibraryIds()
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |