// straight to an TrinidadAgent in RequestContext
TrinidadAgent agent;
if (base instanceof TrinidadAgent)
agent = (TrinidadAgent) base;
else
agent = new TrinidadAgentImpl(context, base);
// Now, merge in any capabilities that we need
if (CoreRenderKit.OUTPUT_MODE_PRINTABLE.equals(outputMode))
{
return AgentUtil.mergeCapabilities(agent, _PRINTABLE_CAPABILITIES);