|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.jportlet.service.velocity.Runtime
Helper for Velocity templates.
Constructor Summary | |
Runtime()
|
Method Summary | |
java.util.Collection |
getLocales()
Return all the available java.util.Locale |
Portlet.Mode |
getMode(java.lang.String name)
Return a Portlet.Mode by its name |
java.lang.String |
getReturnUriKey()
Return the key of the returnURI |
java.lang.String |
getText(java.lang.String key,
java.util.Locale locale)
Returns a localize text from the jPortlet ResourceBundle |
PortletWindow.State |
getWindowState(java.lang.String name)
Return a PortletWindow.State by its name |
java.lang.String |
htmlEncode(java.lang.String str)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Runtime()
Method Detail |
public Portlet.Mode getMode(java.lang.String name)
Portlet.Mode
by its name
public java.lang.String getReturnUriKey()
public java.lang.String getText(java.lang.String key, java.util.Locale locale)
ResourceBundle
key
- key of the text requesterlocale
- target locale
public PortletWindow.State getWindowState(java.lang.String name)
PortletWindow.State
by its name
public java.util.Collection getLocales()
java.util.Locale
public java.lang.String htmlEncode(java.lang.String str)
HTMLHelper#encode(java.lang..String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |