// set appropriate attributes depending on XDIME1 or XDIME2
// implemented in child class
protected void setSpecificAttributes(Parameters params) throws Exception {
ObjectAttribute objectAttribute = (ObjectAttribute) mapAttribute;
// Rewrite source URL from MediaAgent response, passing it through
// additional page rewriter.
objectAttribute.setSrc(urlRewriter.rewrite(
params.getParameterValue(
MediaAgent.OUTPUT_URL_PARAMETER_NAME)));
// Clear the srcType attribute, since the actual MIME type will be
// known at the moment of the transcoding.
objectAttribute.setSrcType(null);
}