Constructs the parameter using the specified name and value. If the "encodeName" is set to true,
the parameter is encoded in the form "name=value". Otherwise, it only
contains the "value" (needed for URL patterns).
Parameters:
aName - the name
aValue - the value
encodeName - if true, the name will be part of the string form