|
||||||||||||
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(java.lang.String templatePath,
java.lang.String outputJavaClassName)
Add the template and fully qualified Java class name to the template map. |
void |
addTemplateTagLibraryReferences(java.lang.String templatePath,
TagLibraryReference[] references)
|
void |
clear()
Clear the compiler state, returning it to its initial condition. |
java.lang.String[] |
getAllReferencedTagLibraryIds()
|
java.lang.String |
getTemplateFromClass(java.lang.String qualifiedName)
Return the project relative template name given a fully qualified class name. |
java.util.Map |
getTemplateMap()
Return a map of fully qualified Java class names keyed by project relative template path (as a string). |
void |
removeTemplate(java.lang.String templatePath)
Remove the template from the template map. |
void |
setProjectTagLibraryReferences(TagLibraryReference[] tagLibraryReferences)
|
Method Detail |
public java.util.Map getTemplateMap()
public void addTemplate(java.lang.String templatePath, java.lang.String outputJavaClassName)
templatePath
- the project relative template path.outputJavaClassName
- the fully qualified class name of the compiled Java output.public void removeTemplate(java.lang.String templatePath)
templatePath
- the project relative template path.public void clear()
public java.lang.String getTemplateFromClass(java.lang.String qualifiedName)
qualifiedName
- a fully qualified Java class name
null
public void setProjectTagLibraryReferences(TagLibraryReference[] tagLibraryReferences)
public void addTemplateTagLibraryReferences(java.lang.String templatePath, TagLibraryReference[] references)
public java.lang.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 |