|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.backend.BackendDriverImpl
public class BackendDriverImpl
This back-end driver can be used to combine several components.
| Constructor Summary | |
|---|---|
BackendDriverImpl()
Creates a new object. |
|
| Method Summary | |
|---|---|
void |
add(PagePipe processor)
Adder for a processor. |
void |
close()
This method is invoked upon the end of the processing. |
DocumentWriter |
getDocumentWriter()
Getter for the document writer. |
java.lang.String |
getDocumentWriterType()
Getter for the document writer. |
java.lang.String |
getExtension()
Getter for the extension associated with this kind of output. |
int |
getPages()
Getter for the number of pages already produced. |
void |
setColorConverter(ColorConverter converter)
Setter for the color converter. |
void |
setDocumentWriterFactory(DocumentWriterFactory documentWriterFactory)
Setter for the document writer factory. |
void |
setDocumentWriterType(java.lang.String type)
Setter for the document writer. |
void |
setFontFactory(CoreFontFactory factory)
Setter for the font factory. |
void |
setOutputStreamFactory(OutputStreamFactory factory)
Setter for the output stream. |
void |
setParameter(java.lang.String name,
java.lang.String value)
Setter for a named parameter. |
void |
setProperties(java.util.Properties properties)
|
void |
setResourceFinder(ResourceFinder f)
|
int |
shipout(Page page)
This is the entry point for the document writer. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BackendDriverImpl()
| Method Detail |
|---|
public void add(PagePipe processor)
add in interface BackendDriverprocessor - the processor to appendBackendDriver.add(
org.extex.backend.pageFilter.PagePipe)
public void close()
throws BackendException
close in interface BackendDriverBackendException - in case of an errorBackendDriver.close()
public DocumentWriter getDocumentWriter()
throws DocumentWriterException
getDocumentWriter in interface BackendDriverDocumentWriterException - in case of an errorBackendDriver.getDocumentWriter()public java.lang.String getDocumentWriterType()
getDocumentWriterType in interface BackendDriverBackendDriver.getDocumentWriterType()public java.lang.String getExtension()
getExtension in interface BackendDriverDocumentWriter.getExtension()public int getPages()
getPages in interface BackendDriverBackendDriver.getPages()public void setColorConverter(ColorConverter converter)
setColorConverter in interface ColorAwareconverter - the color converterColorAware.setColorConverter(org.extex.color.ColorConverter)public void setDocumentWriterFactory(DocumentWriterFactory documentWriterFactory)
setDocumentWriterFactory in interface BackendDriverdocumentWriterFactory - the document writer factory to setBackendDriver.setDocumentWriterFactory(
org.extex.backend.documentWriter.DocumentWriterFactory)
public void setDocumentWriterType(java.lang.String type)
throws BackendDocumentWriterDefinedException,
BackendUnknownDocumentWriterException
setDocumentWriterType in interface BackendDrivertype - the document writer type
BackendDocumentWriterDefinedException - in case that the document
writer is already in use
BackendUnknownDocumentWriterException - in case that the document
writer has no associated configurationBackendDriver.setDocumentWriterType(java.lang.String)public void setFontFactory(CoreFontFactory factory)
setFontFactory in interface FontAwarefactory - the font factoryFontAware.setFontFactory(org.extex.font.CoreFontFactory)public void setOutputStreamFactory(OutputStreamFactory factory)
setOutputStreamFactory in interface MultipleDocumentStreamfactory - the output streamMultipleDocumentStream.setOutputStreamFactory(
org.extex.backend.outputStream.OutputStreamFactory)
public void setParameter(java.lang.String name,
java.lang.String value)
If the document writer is in use already then the parameter is passed to the document writer. Otherwise the parameter is stored until a document writer is created. Then the parameter is passed on.
setParameter in interface BackendDrivername - the name of the parametervalue - the value of the parameterDocumentWriter.setParameter(
java.lang.String, java.lang.String)public void setProperties(java.util.Properties properties)
org.extex.resource.PropertyAware#setProperties(java.util.Properties)public void setResourceFinder(ResourceFinder f)
org.extex.resource.ResourceAware#setResourceFinder(
org.extex.resource.ResourceFinder)
public int shipout(Page page)
throws BackendException
shipout in interface BackendDriverpage - the page to send
BackendException - in case of an errorBackendDriver.shipout(
org.extex.typesetter.type.page.Page)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||