/** * Returns the set of available parameter names for this link.<p> * * @return a <code>Set</code> of parameter names */ public Set getParameterNames() { return getParameterMap().keySet(); }
/** * Returns all parameter values for the given name.<p> * * @param name the name of the parameter * @return a <code>String[]</code> of all parameter values or <code>null</code> */ public String[] getParameterValues(String name) { return (String[])getParameterMap().get(name); }
/** * Returns the set of available parameter names for this link.<p> * * @return the parameter names */ public Set<String> getParameterNames() { return getParameterMap().keySet(); }
/** * Returns all parameter values for the given name.<p> * * @param name the name of the parameter * * @return all parameter values or <code>null</code> */ public String[] getParameterValues(String name) { return getParameterMap().get(name); }
/** * Returns the first parameter value for the given parameter name.<p> * * @param name the name of the parameter * @return the first value for this name or <code>null</code> */ public String getParameter(String name) { String[] p = getParameterMap().get(name); if (p != null) { return p[0]; } return null; }
/** * Returns the first parameter value for the given parameter name.<p> * * @param name the name of the parameter * @return the first value for this name or <code>null</code> */ public String getParameter(String name) { String[] p = (String[])getParameterMap().get(name); if (p != null) { return p[0]; } return null; }