| |
|
| java.lang.Object org.apache.wsrp4j.util.Modes
fromString | public static Modes fromString(java.lang.String value)(Code) | | Returns the WSRP mode build from a string representation
If a not supported Mode is requested, null is returned
Parameters: value - String representation of the WSRP mode The WSRP Mode represented by the passed string |
fromValue | public static Modes fromValue(java.lang.String value)(Code) | | Returns the WSRP mode build from a string representation
If a not supported Mode is requested, null is returned
Parameters: value - String representation of the WSRP mode The WSRP Mode represented by the passed string |
getJsrPortletModeFromWsrpMode | public static PortletMode getJsrPortletModeFromWsrpMode(Modes wsrpMode)(Code) | | This helper method maps portlet modes defined in wsrp to portlet modes
defined in the java portlet standard (JSR-168). If the passed wsrp mode
is null or can not be mapped the view mode is returned.
The javax.portlet.PortletMode which corresponds to the given wsrp mode. |
getWsrpModeFromJsrPortletMode | public static Modes getWsrpModeFromJsrPortletMode(PortletMode portletMode)(Code) | | This helper method maps portlet modes defined in tha java portlet standard (JSR-168)
to modes defined in wsrp. If the passed portlet mode can not be resolved wsrp:view mode
is returned.
Parameters: portletMode - The javax.portlet.PortletMode which should be resolved asas portlet mode defined in wsrp. |
hashCode | public int hashCode()(Code) | | |
|
|
|