|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.turbine.util.DynamicURI org.apache.jetspeed.util.template.ContentTemplateLink
A customized version of the DynamicURI for linking to non-servlet webapp resources.
Field Summary |
Fields inherited from class org.apache.turbine.util.DynamicURI |
data, hasPathInfo, hasQueryData, HTTP, HTTPS, PATH_INFO, pathInfo, QUERY_DATA, queryData, redirect, reference, res, scriptName, sd, serverName, serverPort, serverScheme |
Constructor Summary | |
ContentTemplateLink()
Empty Constructor for introspection |
|
ContentTemplateLink(org.apache.turbine.util.RunData data)
Constructor |
Method Summary | |
ContentTemplateLink |
getAbsolute()
Specify the link should be expressed in absolute form (ie only a URI and not a full URL) |
ContentTemplateLink |
getExternal()
Specify the link should be expressed in external form (ie with protocol, server name and server port) |
void |
init(java.lang.Object data)
This will initialise a ContentTemplateLink object that was constructed with the default constructor (ApplicationTool method). |
protected void |
initContextPath(java.lang.Object data)
Inits the contextPath for this object |
protected void |
initForceSecure()
Inits the force secure setting. |
void |
refresh()
Refresh method - does nothing |
ContentTemplateLink |
setURI(java.lang.String pathToContent)
Specify the webapp resource to link to. |
java.lang.String |
toString()
Returns the URI. |
Methods inherited from class org.apache.turbine.util.DynamicURI |
add, add, addPathInfo, addPathInfo, addPathInfo, addPathInfo, addPathInfo, addPathInfo, addQueryData, addQueryData, addQueryData, addQueryData, addQueryData, addQueryData, getA, getReference, getScriptName, getServerData, getServerName, getServerPort, getServerScheme, init, init, init, remove, removePathInfo, removePathInfo, removeQueryData, removeQueryData, renderPathInfo, renderQueryString, setAction, setReference, setScreen, setScriptName, setSecure, setSecure, setServerData, setServerName, setServerPort, setServerScheme, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ContentTemplateLink()
public ContentTemplateLink(org.apache.turbine.util.RunData data)
Method Detail |
public void init(java.lang.Object data)
init
in interface org.apache.turbine.services.pull.ApplicationTool
data
- assumed to be a RunData objectprotected void initContextPath(java.lang.Object data)
data
- the RunData to useprotected void initForceSecure()
public void refresh()
refresh
in interface org.apache.turbine.services.pull.ApplicationTool
public ContentTemplateLink getExternal()
public ContentTemplateLink getAbsolute()
public ContentTemplateLink setURI(java.lang.String pathToContent)
pathToContent
- the path to resource, assumed to be relative to the
web application context
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |