*/
private Object decodeReferenceData(final String identifier, final InputReferenceType reference) {
Object data = null;
URL url = null;
Parameter<?> param = this.inputParameters.get(identifier);
ComplexTransmuter transmuter = (ComplexTransmuter)this.getDefaultTransmuter(param.type);
try {
url = new URL(reference.getHref());
} catch(MalformedURLException e) {
throw new WPSException("NoApplicableCode", "Malformed parameter URL.");
}
try {
data = transmuter.decode(url.openStream());
} catch(IOException e) {
throw new WPSException("NoApplicableCode", "IOException.");
}
return data;