public void createOperations(PhysicalOperationsCollector col,
Element e,
Content value,
Rectangle2D bounds) throws OutputTargetException {
final String contentType = e.getContentType();
for (int i = 0; i < modules.size(); i++)
{
final OperationModule mod = (OperationModule) modules.get(i);
if (mod.canHandleContent(contentType))
{
mod.createOperations(col, e, value, bounds);
return;
}
}
throw new OutputTargetException("No operation module for " + contentType);
}
Creates the required Operations to output the content on an OutputTarget. |