'Builds a parameter for the specified I{method} using the parameter
definition (pdef) and the specified value (object).
@param method: A method name.
@type method: str
@param pdef: A parameter definition.
@type pdef: tuple: (I{name}, L{xsd.sxbase.SchemaObject})
@param object: The parameter value.
@type object: any
@return: The parameter fragment.
@rtype: L{Element}'

def mkparam(self, method, pdef, object):

    marshaller = self.marshaller()
    content = Content(tag=pdef[0], value=object, type=pdef[1], real=pdef[1].resolve())
    return marshaller.process(content)
