public void render(final PageSequence pageSequence) throws FOrayException {
this.pageSequenceCount ++;
if (this.outputTarget instanceof Renderer) {
getLogger().info("Starting layout of page-sequence "
+ this.pageSequenceCount + ".");
final Renderer renderer = (Renderer) this.outputTarget;
final org.axsl.galley.Galley areaTreeR = getRenderedAreaTree();
renderer.setGalley(areaTreeR);
final org.axsl.area.PageCollection pageCollection;
try {
pageCollection = this.areaTree.makePageCollection(pageSequence);
this.layout.formatPageSequence(pageCollection);
} catch (final AreaTreeException e) {