logger.error("Exception", pe);
}
}
CapabilityMap map = ((JetspeedRunData)data).getCapability();
String type = map.getPreferredType().toString();
ConcreteElement content = new JetspeedClearElement(INVALID_TYPE);
String stylesheet = (String)stylesheets.get(type);
if (stylesheet != null) {
content = getContent( data, map );
if ( content == null ) {
try {
content = new JetspeedClearElement(
SimpleTransform.transform( this.document,
stylesheet,
this.params ) );
setContent( content, map );
} catch ( SAXException e ) {
logger.error("Exception", e);
content = new JetspeedClearElement(e.getMessage());
}
}
}
else
{