org.ujac.print
Class DocumentHolder

java.lang.Object
  extended by org.ujac.print.DocumentHolder

public class DocumentHolder
extends Object

Name: DocumentHolder
Description: A class holding document data plus extra informations.

Author:
lauerc

Constructor Summary
DocumentHolder(InputStream documentStream, List tocItems, List outlines)
          Constructs a DocumentHolder instance with specific attributes.
 
Method Summary
 InputStream getDocumentStream()
          Gets the document stream.
 List getOutlines()
          Getter method for the the property outlines.
 List getTocItems()
          Getter method for the the property tocItems.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentHolder

public DocumentHolder(InputStream documentStream,
                      List tocItems,
                      List outlines)
Constructs a DocumentHolder instance with specific attributes.

Parameters:
documentStream - The input stream to read the document data from.
tocItems - The table of contents items.
outlines - The outline items.
Method Detail

getDocumentStream

public InputStream getDocumentStream()
Gets the document stream.

Returns:
The input stream to read the document data from.

getTocItems

public List getTocItems()
Getter method for the the property tocItems.

Returns:
The current value of property tocItems.

getOutlines

public List getOutlines()
Getter method for the the property outlines.

Returns:
The current value of property outlines.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.