| java.lang.Object org.apache.cocoon.components.language.markup.xsp.XSPRequestHelper
XSPRequestHelper | public class XSPRequestHelper (Code) | | The Request object helper
author: Ricardo Rocha version: CVS $Id: XSPRequestHelper.java 433543 2006-08-22 06:22:54Z crossley $ |
Method Summary | |
public static void | getAttributeNames(Map objectModel, ContentHandler contentHandler) | public static String[] | getAttributeNames(Map objectModel) | public static Date | getDateHeader(Map objectModel, String name) | public static String | getDateHeader(Map objectModel, String name, String format) | public static void | getHeaderNames(Map objectModel, ContentHandler contentHandler) | public static String[] | getHeaderNames(Map objectModel) | public static String[] | getHeaders(Map objectModel, String name) | public static void | getHeaders(Map objectModel, String name, ContentHandler contentHandler) | public static void | getLocale(Map objectModel, ContentHandler handler) | public static Locale[] | getLocales(Map objectModel) | public static void | getLocales(Map objectModel, ContentHandler contentHandler) | public static String | getParameter(Map objectModel, String name, String defaultValue) Return the given request parameter value or a user-provided default if
none was specified. | public static String | getParameter(Map objectModel, String name, String defaultValue, String form_encoding, String container_encoding) Return the given request parameter value or a user-provided default if
none was specified. | public static void | getParameter(Map objectModel, ContentHandler contentHandler, String name, String defaultValue) Output the given request parameter value or a user-provided default if
none was specified. | public static void | getParameter(Map objectModel, ContentHandler contentHandler, String name, String defaultValue, String form_encoding, String container_encoding) Output the given request parameter value or a user-provided default if
none was specified. | public static String[] | getParameterNames(Map objectModel) | public static void | getParameterNames(Map objectModel, ContentHandler contentHandler) | public static void | getParameterValues(Map objectModel, ContentHandler contentHandler, String name) | public static void | getParameterValues(Map objectModel, ContentHandler contentHandler, String name, String form_encoding, String container_encoding) | public static String[] | getParameterValues(Map objectModel, String name, String form_encoding, String container_encoding) return the request parameter values for a given name as array
Parameters: objectModel - The Map objectModel Parameters: form_encoding - The supposed encoding of the request parameter. Parameters: container_encoding - The encoding used by container. | public static String | getRequestedURL(Map objectModel) | public static Object | getSessionAttribute(Map objectModel, String name, Object defaultValue) Return the given session attribute value or a user-provided default if
none was specified. | public static void | getSessionAttribute(Map objectModel, ContentHandler contentHandler, String name, Object defaultValue) Output the given session attribute value or a user-provided default if
none was specified. |
getAttributeNames | public static void getAttributeNames(Map objectModel, ContentHandler contentHandler) throws SAXException(Code) | | Output attribute names for a given request
Parameters: objectModel - The Map objectModel Parameters: contentHandler - The SAX content handler exception: SAXException - If a SAX error occurs |
getAttributeNames | public static String[] getAttributeNames(Map objectModel)(Code) | | Returns the attribute names
Parameters: objectModel - The Map objectModel |
getHeaderNames | public static void getHeaderNames(Map objectModel, ContentHandler contentHandler) throws SAXException(Code) | | Output the header names for a given request
Parameters: objectModel - The Map objectModel Parameters: contentHandler - The SAX content handler exception: SAXException - If a SAX error occurs |
getHeaderNames | public static String[] getHeaderNames(Map objectModel)(Code) | | Returns the header names for a given request
Parameters: objectModel - The Map objectModel |
getLocales | public static Locale[] getLocales(Map objectModel)(Code) | | Return the request locales as array
Array containing request locales. |
getLocales | public static void getLocales(Map objectModel, ContentHandler contentHandler) throws SAXException(Code) | | Output request locales
Parameters: objectModel - The Map objectModel Parameters: contentHandler - The SAX content handler exception: SAXException - If a SAX error occurs |
getParameter | public static String getParameter(Map objectModel, String name, String defaultValue)(Code) | | Return the given request parameter value or a user-provided default if
none was specified.
Parameters: objectModel - The Map objectModel Parameters: name - The parameter name Parameters: defaultValue - Value to substitute in absence of a parameter value |
getParameter | public static String getParameter(Map objectModel, String name, String defaultValue, String form_encoding, String container_encoding)(Code) | | Return the given request parameter value or a user-provided default if
none was specified.
Parameters: objectModel - The Map objectModel Parameters: name - The parameter name Parameters: defaultValue - Value to substitute in absence of a parameter value Parameters: form_encoding - The supposed encoding of the request parameter. Parameters: container_encoding - The encoding used by container. |
getParameter | public static void getParameter(Map objectModel, ContentHandler contentHandler, String name, String defaultValue) throws SAXException(Code) | | Output the given request parameter value or a user-provided default if
none was specified.
Parameters: objectModel - The Map objectModel Parameters: contentHandler - The SAX content handler Parameters: name - The parameter name Parameters: defaultValue - Value to substitute in absence of a parameter value exception: SAXException - If a SAX error occurs |
getParameter | public static void getParameter(Map objectModel, ContentHandler contentHandler, String name, String defaultValue, String form_encoding, String container_encoding) throws SAXException(Code) | | Output the given request parameter value or a user-provided default if
none was specified.
Parameters: objectModel - The Map objectModel Parameters: contentHandler - The SAX content handler Parameters: name - The parameter name Parameters: defaultValue - Value to substitute in absence of a parameter value Parameters: form_encoding - The supposed encoding of the request parameter. Parameters: container_encoding - The encoding used by container. exception: SAXException - If a SAX error occurs |
getParameterNames | public static String[] getParameterNames(Map objectModel)(Code) | | return the request parameter names as array
Array containing parameter names. |
getParameterNames | public static void getParameterNames(Map objectModel, ContentHandler contentHandler) throws SAXException(Code) | | Output parameter names for a given request
Parameters: objectModel - The Map objectModel Parameters: contentHandler - The SAX content handler exception: SAXException - If a SAX error occurs |
getParameterValues | public static void getParameterValues(Map objectModel, ContentHandler contentHandler, String name) throws SAXException(Code) | | Output the request parameter values for a given name
Parameters: objectModel - The Map objectModel Parameters: contentHandler - The SAX content handler exception: SAXException - If a SAX error occurs |
getParameterValues | public static void getParameterValues(Map objectModel, ContentHandler contentHandler, String name, String form_encoding, String container_encoding) throws SAXException(Code) | | Output the request parameter values for a given name
Parameters: objectModel - The Map objectModel Parameters: contentHandler - The SAX content handler Parameters: form_encoding - The supposed encoding of the request parameter. Parameters: container_encoding - The encoding used by container. exception: SAXException - If a SAX error occurs |
getParameterValues | public static String[] getParameterValues(Map objectModel, String name, String form_encoding, String container_encoding)(Code) | | return the request parameter values for a given name as array
Parameters: objectModel - The Map objectModel Parameters: form_encoding - The supposed encoding of the request parameter. Parameters: container_encoding - The encoding used by container. Array containing requested values. |
getSessionAttribute | public static Object getSessionAttribute(Map objectModel, String name, Object defaultValue)(Code) | | Return the given session attribute value or a user-provided default if
none was specified.
Parameters: objectModel - The Map objectModel Parameters: name - The attribute name Parameters: defaultValue - Value to substitute in absence of a attribute value |
getSessionAttribute | public static void getSessionAttribute(Map objectModel, ContentHandler contentHandler, String name, Object defaultValue) throws SAXException(Code) | | Output the given session attribute value or a user-provided default if
none was specified.
Parameters: objectModel - The Map objectModel Parameters: contentHandler - The SAX content handler Parameters: name - The attribute name Parameters: defaultValue - Value to substitute in absence of an attribute value exception: SAXException - If a SAX error occurs |
|
|