PSE 2000 Group 4

jobmatch.presentation
Class DocumentPresentation

jobmatch.presentation.DocumentPresentation
Direct Known Subclasses:
PDFPresentation

abstract class DocumentPresentation

Superclass of all generic Documents

Since:
May 31 2000
Version:
$Revision: 1.1 $

Constructor Summary
(package private) DocumentPresentation()
           
 
Method Summary
protected  jobmatch.presentation.Document createDocument()
           
protected abstract  void formatDocument(jobmatch.presentation.HttpPresentationComms comms, jobmatch.presentation.Document document)
           
protected  int getInitalBufferSize()
           
protected abstract  String getMimeType()
           
protected  String getSubject()
           
 void run(jobmatch.presentation.HttpPresentationComms comms)
           
protected  void setMetaInformation(jobmatch.presentation.HttpPresentationComms comms, jobmatch.presentation.Document document)
           
protected abstract  void setUpDocumentListeners(OutputStream os, jobmatch.presentation.Document document)
           
 

Constructor Detail

DocumentPresentation

DocumentPresentation()
Method Detail

run

public void run(jobmatch.presentation.HttpPresentationComms comms)
         throws jobmatch.presentation.HttpPresentationException

getMimeType

protected abstract String getMimeType()

setUpDocumentListeners

protected abstract void setUpDocumentListeners(OutputStream os,
                                               jobmatch.presentation.Document document)
                                        throws jobmatch.presentation.DocumentException,
                                               jobmatch.presentation.HttpPresentationException

formatDocument

protected abstract void formatDocument(jobmatch.presentation.HttpPresentationComms comms,
                                       jobmatch.presentation.Document document)
                                throws jobmatch.presentation.DocumentException,
                                       jobmatch.presentation.HttpPresentationException

getInitalBufferSize

protected int getInitalBufferSize()

getSubject

protected String getSubject()

createDocument

protected jobmatch.presentation.Document createDocument()

setMetaInformation

protected void setMetaInformation(jobmatch.presentation.HttpPresentationComms comms,
                                  jobmatch.presentation.Document document)
                           throws jobmatch.presentation.DocumentException,
                                  jobmatch.presentation.HttpPresentationException

PSE 2000 Group 4