|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.matthias_burbach.mosaique.core.model.JspResolver
Constructor Summary | |
JspResolver(PathFinder pathFinder,
Context context)
|
Method Summary | |
void |
clear()
Clears the internal map of already resolved JSPs. |
static JspResolver |
getInstance()
|
Jsp |
resolve(java.lang.String relativePath)
|
void |
setRoot(java.lang.String root)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JspResolver(PathFinder pathFinder, Context context)
pathFinder
- The optional path finder to map relative paths to
absolute paths.
Was introduced with the port to Eclipse where path
logic is more complicated.context
- The context to use by this instance.Method Detail |
public static JspResolver getInstance()
public void setRoot(java.lang.String root)
root
- The absolute path of the web application's document root to
prepend to relative JSP paths.public void clear()
public Jsp resolve(java.lang.String relativePath)
relativePath
- The relative path of a JSP to resolve.
null
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |