|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DocumentWriter
This is the interface to the back-end of the system. The document has to be written to an output stream. Certain information can be acquired before and after the production of the output.
| Method Summary | |
|---|---|
void |
close()
This method is invoked upon the end of the processing. |
java.lang.String |
getExtension()
Getter for the extension associated with this kind of output. |
void |
setParameter(java.lang.String name,
java.lang.String value)
Setter for a named parameter. |
int |
shipout(Page page)
This is the entry point for the document writer. |
| Method Detail |
|---|
java.lang.String getExtension()
int shipout(Page page)
throws GeneralException,
java.io.IOException
If the page is null then no page has to be shipped and 0
has to be returned.
page - the page to send
GeneralException - in case of a general exceptionjava.io.IOException - in case of an IO exception
void close()
throws GeneralException,
java.io.IOException
GeneralException - in case of a general exceptionjava.io.IOException - in case of an IO exception
void setParameter(java.lang.String name,
java.lang.String value)
name - the name of the parametervalue - the value of the parameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||