|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectAbstractFactory
org.extex.engine.backend.BackendFactory
public class BackendFactory
This class provides a factory for the back-end.
The class to be instantiated can implements one or more interfaces which trigger special actions:
ConfigurableConfiguration is
passed in with the interface method. LogEnabledLogger is passed in with the interface
method. ResourceAwareResourceFinder is passed in with
the interface method. PropertyAwareProperties instance is passed in with the
interface method. ColorAwareColorConverter instance is passed in
with the interface method.
| Constructor Summary | |
|---|---|
BackendFactory()
Creates a new object. |
|
| Method Summary | |
|---|---|
BackendDriver |
newInstance(java.lang.String type,
OutputStreamFactory outFactory,
ResourceFinder finder,
java.util.Properties properties,
java.lang.String creator,
CoreFontFactory fontFactory,
ColorConverter colorConverter)
Acquire an instance of a back-end driver. |
void |
setOptions(DocumentWriterOptions options)
Setter for options. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BackendFactory()
| Method Detail |
|---|
public BackendDriver newInstance(java.lang.String type,
OutputStreamFactory outFactory,
ResourceFinder finder,
java.util.Properties properties,
java.lang.String creator,
CoreFontFactory fontFactory,
ColorConverter colorConverter)
throws DocumentWriterException
type - the type of the document writeroutFactory - the output stream factoryfinder - the resource finderproperties - the propertiescreator - the creator stringfontFactory - the font factorycolorConverter - the color converter
DocumentWriterException - in case of an error
ConfigurationException - in case of an error in the configurationpublic void setOptions(DocumentWriterOptions options)
options - the options to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||