org.apache.fop.apps

Class PageSequenceResults


public class PageSequenceResults
extends java.lang.Object

Class for reporting back formatting results to the calling application. This particular class is used to report the results of a single page-sequence.

Constructor Summary

PageSequenceResults(String id, int pageCount)
Constructor for the PageSequenceResults object

Method Summary

String
getID()
Gets the ID of the page-sequence if one was specified.
int
getPageCount()
Gets the number of pages that resulted by processing the page-sequence.

Constructor Details

PageSequenceResults

public PageSequenceResults(String id,
                           int pageCount)
Constructor for the PageSequenceResults object
Parameters:
id - ID of the page-sequence, if available
pageCount - The number of resulting pages

Method Details

getID

public String getID()
Gets the ID of the page-sequence if one was specified.
Returns:
The ID

getPageCount

public int getPageCount()
Gets the number of pages that resulted by processing the page-sequence.
Returns:
The number of pages generated

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.