| java.lang.Object org.apache.jetspeed.container.state.impl.JetspeedNavigationalStateCodec
JetspeedNavigationalStateCodec | public class JetspeedNavigationalStateCodec implements NavigationalStateCodec(Code) | | JetspeedNavigationalStateCodec
author: Ate Douma version: $Id: JetspeedNavigationalStateCodec.java 554926 2007-07-10 13:12:26Z ate $ |
Method Summary | |
public PortletWindowRequestNavigationalStates | decode(String parameters, String characterEncoding) | protected int | decodeArgument(int position, String arguments, StringBuffer buffer, char escape) | protected PortletWindowRequestNavigationalState | decodeParameter(PortletWindowAccessor accessor, PortletWindowRequestNavigationalStates states, PortletWindowRequestNavigationalState currentState, String parameter) | protected String | decodeParameters(String value, String characterEncoding) Decodes a Base64 encoded string. | protected PortletMode | decodePortletMode(char mode) | protected WindowState | decodeWindowState(char state) | public String | encode(PortletWindowRequestNavigationalStates states, PortletWindow window, PortletMode portletMode, WindowState windowState, boolean navParamsStateFull, boolean renderParamsStateFull) | public String | encode(PortletWindowRequestNavigationalStates states, PortletWindow window, Map parameters, PortletMode portletMode, WindowState windowState, boolean action, boolean navParamsStateFull, boolean renderParamsStateFull) | public String | encode(PortletWindowRequestNavigationalStates states, boolean navParamsStateFull, boolean renderParamsStateFull) | protected String | encode(PortletWindowRequestNavigationalStates states, String targetWindowId, PortletWindowRequestNavigationalState targetState, boolean action, boolean resource, boolean navParamsStateFull, boolean renderParamsStateFull) | protected String | encodeArgument(String argument, char escape) | protected String | encodeParameters(String value, String characterEncoding) Encodes a string with Base64. | protected char | encodePortletMode(PortletMode portletMode) | protected String | encodePortletWindowNavigationalState(String windowId, PortletWindowRequestNavigationalState state, boolean action, boolean resource, boolean navParamsStateFull, boolean renderParamsStateFull) | protected char | encodeWindowState(WindowState windowState) |
ACTION_WINDOW_ID_KEY | final protected static char ACTION_WINDOW_ID_KEY(Code) | | |
CLEAR_PARAMS_KEY | final protected static char CLEAR_PARAMS_KEY(Code) | | |
MODE_KEY | final protected static char MODE_KEY(Code) | | |
PARAMETER_ELEMENT_SEPARATOR | final protected static char PARAMETER_ELEMENT_SEPARATOR(Code) | | |
PARAMETER_SEPARATOR | final protected static char PARAMETER_SEPARATOR(Code) | | |
PARAM_KEY | final protected static char PARAM_KEY(Code) | | |
RENDER_WINDOW_ID_KEY | final protected static char RENDER_WINDOW_ID_KEY(Code) | | |
RESOURCE_WINDOW_ID_KEY | final protected static char RESOURCE_WINDOW_ID_KEY(Code) | | |
STATE_KEY | final protected static char STATE_KEY(Code) | | |
log | final protected static Log log(Code) | | Commons logging
|
portletModes | final protected PortletMode[] portletModes(Code) | | |
windowStates | final protected WindowState[] windowStates(Code) | | |
decodeParameters | protected String decodeParameters(String value, String characterEncoding) throws UnsupportedEncodingException(Code) | | Decodes a Base64 encoded string.
Because the encoded string is used in an URL
the two '/' and '=' which has some significance in an URL
are encoded on top of the Base64 encoding and are first translated back before decoding.
Parameters: value - Parameters: characterEncoding - String containing the name of the chararacter encoding decoded string |
decodePortletMode | protected PortletMode decodePortletMode(char mode)(Code) | | |
decodeWindowState | protected WindowState decodeWindowState(char state)(Code) | | |
encodeParameters | protected String encodeParameters(String value, String characterEncoding) throws UnsupportedEncodingException(Code) | | Encodes a string with Base64.
Because the encoded string is used in an URL
the two '/' and '=' which has some significance in an URL
are encoded on top of/after the Base64 encoding
Parameters: value - encoded string |
encodePortletMode | protected char encodePortletMode(PortletMode portletMode)(Code) | | |
encodeWindowState | protected char encodeWindowState(WindowState windowState)(Code) | | |
|
|