|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujac.print.DocumentPrinter
org.ujac.print.DocumentTransformHelper
public class DocumentTransformHelper
Name: DocumentTransformHelper
Description: A class which enables more efficient XML transform result processing.
| Constructor Summary | |
|---|---|
DocumentTransformHelper()
Constructs a DocumentTransformHelper instance with specific attributes. |
|
DocumentTransformHelper(DocumentTagFactory tagFactory)
Constructs a DocumentTransformHelper instance with specific attributes. |
|
DocumentTransformHelper(Map properties,
DocumentTagFactory tagFactory)
Constructs a DocumentTransformHelper instance with specific arguments. |
|
| Method Summary | |
|---|---|
void |
finish()
Finishes the document processing. |
Result |
prepare(OutputStream outputStream,
boolean supportToc)
Prepares for XSLT transformation using SAXResult. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DocumentTransformHelper()
public DocumentTransformHelper(DocumentTagFactory tagFactory)
tagFactory - The document tag factory.
public DocumentTransformHelper(Map properties,
DocumentTagFactory tagFactory)
properties - The document's properties.tagFactory - The document tag factory.| Method Detail |
|---|
public Result prepare(OutputStream outputStream,
boolean supportToc)
throws DocumentHandlerException,
IOException
outputStream - The output stream to which to write the document.supportToc - Tells whether or not to support the output of a leading table of contents.
Notice: if you use this option, the main document will be completely generated in memory,
this may lead to problems if you process huge documents.
DocumentHandlerException - If something went wrong at document handling.
IOException - In case something went wrong during output.
public void finish()
throws DocumentHandlerException,
IOException
DocumentHandlerException - If something went wrong at document handling.
IOException - In case something went wrong during output.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||