|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.tigris.scarab.util.StaticLink
A pull tool to render links to static content.
| Constructor Summary | |
StaticLink()
Constructor. |
|
| Method Summary | |
void |
dispose()
Disposes the object by setting its disposed flag. |
protected java.lang.String |
getPrefix()
Prefix that will be added to the path given in setPage. |
protected org.apache.turbine.RunData |
getRunData()
Give subclasses access to the RunData, so they do not have to reimplement the pooling code, just to get at it. |
void |
init(java.lang.Object data)
This will initialise a StaticLink object that was constructed with the default constructor (ApplicationTool method). |
boolean |
isDisposed()
Checks whether the object is disposed. |
void |
recycle()
Recycles the object by removing its disposed flag. |
void |
refresh()
Implementation of ApplicationTool interface. |
StaticLink |
setPath(java.lang.String t)
Path to a file. |
java.lang.String |
toString()
Prints out the url. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public StaticLink()
| Method Detail |
public void init(java.lang.Object data)
init in interface org.apache.fulcrum.pool.InitableRecyclabledata - assumed to be a RunData objectpublic void refresh()
refresh in interface org.apache.turbine.services.pull.ApplicationToolpublic StaticLink setPath(java.lang.String t)
t - A String with the file name.
public java.lang.String toString()
String urlprotected java.lang.String getPrefix()
String valueprotected org.apache.turbine.RunData getRunData()
public void recycle()
recycle in interface org.apache.fulcrum.pool.Recyclablepublic void dispose()
dispose in interface org.apache.fulcrum.pool.Recyclablepublic boolean isDisposed()
isDisposed in interface org.apache.fulcrum.pool.Recyclable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||