/** * Returns true if a parameter with given name exists in this form. **/ public boolean hasParameterNamed( String soughtName ) { return getFormParameters().containsKey( soughtName ); }
/** * Returns true if a parameter with given name exists in this form. **/ public boolean hasParameterNamed( String soughtName ) { return getFormParameters().containsKey( soughtName ); }
/** * get the form parameter with the given name * @param name * @return the form parameter with this name */ public FormParameter getParameter( String name ) { final FormParameter parameter = ((FormParameter) getFormParameters().get( name )); return parameter != null ? parameter : UNKNOWN_PARAMETER; }
/** * Returns true if a parameter with given name exists in this form. **/ public boolean hasParameterNamed( String soughtName ) { return getFormParameters().containsKey( soughtName ); }
/** * get the form parameter with the given name * @param name * @return the form parameter with this name */ public FormParameter getParameter( String name ) { final FormParameter parameter = ((FormParameter) getFormParameters().get( name )); return parameter != null ? parameter : UNKNOWN_PARAMETER; }
/** * get the form parameter with the given name * @param name * @return the form parameter with this name */ public FormParameter getParameter( String name ) { final FormParameter parameter = ((FormParameter) getFormParameters().get( name )); return parameter != null ? parameter : UNKNOWN_PARAMETER; }
/** * Returns an array containing the names of the parameters defined for this form. **/ public String[] getParameterNames() { ArrayList parameterNames = new ArrayList( getFormParameters().keySet() ); return (String[]) parameterNames.toArray( new String[ parameterNames.size() ] ); }
/** * Returns an array containing the names of the parameters defined for this form. **/ public String[] getParameterNames() { ArrayList parameterNames = new ArrayList( getFormParameters().keySet() ); return (String[]) parameterNames.toArray( new String[ parameterNames.size() ] ); }
/** * Returns an array containing the names of the parameters defined for this form. **/ public String[] getParameterNames() { ArrayList parameterNames = new ArrayList( getFormParameters().keySet() ); return (String[]) parameterNames.toArray( new String[ parameterNames.size() ] ); }