|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.app.FOraySpecific
public final class FOraySpecific
Utility class that creates FOray-specific implementations of the high-level objects for each module. The purpose of the methods in this class is to simplify the task of getting FOray started up in a standard manner without diminishing the flexibility of its pluggable nature.
Method Summary | |
---|---|
static AreaTreeFactory4a |
makeAreaTreeFactory(org.apache.commons.logging.Log logger)
Make a standard AreaTreeFactory instance for use in FOray. |
static org.axsl.font.FontServer |
makeFontServer(org.apache.commons.logging.Log logger,
SessionConfig configuration)
Make a standard FontServer instance for use in FOray. |
static FOraySession |
makeFOraySession(SessionConfig sessionConfig)
Creates a new FOraySession instance configured with default servers and factories. |
static org.axsl.fo.FoTreeFactory |
makeFOTreeFactory(org.apache.commons.logging.Log logger,
SessionConfig configuration,
org.axsl.font.FontServer fontServer,
org.axsl.graphic.GraphicServer graphicServer,
org.axsl.text.TextServer textServer,
org.axsl.hyphen.HyphenationServer hyphenationServer)
Make a standard FOTreeFactory instance for use in FOray. |
static org.axsl.graphic.GraphicServer |
makeGraphicServer(org.apache.commons.logging.Log logger)
Make a standard GraphicServer instance for use in FOray. |
static org.axsl.hyphen.HyphenationServer |
makeHyphenationServer(org.apache.commons.logging.Log logger,
SessionConfig configuration)
Make a standard HyphenationServer instance for use in FOray. |
static PioneerFactory |
makeLayoutFactory(org.apache.commons.logging.Log logger)
Make a standard LayoutFactory instance for use in FOray. |
static org.apache.commons.logging.Log |
makeLogger(SessionConfig configuration)
Make a standard logger for use in FOray. |
static org.axsl.ps.PsServer |
makePsServer()
Make a standard PsServer instance for use in FOray. |
static org.axsl.speech.SpeechServer |
makeSpeechServer()
Make a standard SpeechServer instance for use in FOray. |
static org.axsl.text.TextServer |
makeTextServer(org.apache.commons.logging.Log logger,
org.axsl.hyphen.HyphenationServer hyphenServer)
Make a standard TextServer instance for use in FOray. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static FOraySession makeFOraySession(SessionConfig sessionConfig) throws FOrayException
sessionConfig
- The session configuration.
FOrayException
- For errors in creating the server and factories,
or in instantiating the FOraySession.public static org.apache.commons.logging.Log makeLogger(SessionConfig configuration)
configuration
- The session configuration.
public static org.axsl.font.FontServer makeFontServer(org.apache.commons.logging.Log logger, SessionConfig configuration) throws FOrayException
logger
- The logger.configuration
- The session configuration.
FOrayException
- For errors creating the server.public static org.axsl.text.TextServer makeTextServer(org.apache.commons.logging.Log logger, org.axsl.hyphen.HyphenationServer hyphenServer) throws FOrayException
logger
- The logger.hyphenServer
- The hyphenation server to be used in line-breaking
decisions.
FOrayException
- For errors creating the server.public static org.axsl.hyphen.HyphenationServer makeHyphenationServer(org.apache.commons.logging.Log logger, SessionConfig configuration)
logger
- The logger.configuration
- The session configuration.
public static org.axsl.graphic.GraphicServer makeGraphicServer(org.apache.commons.logging.Log logger) throws FOrayException
logger
- The logger.
FOrayException
- For errors creating the server.public static org.axsl.fo.FoTreeFactory makeFOTreeFactory(org.apache.commons.logging.Log logger, SessionConfig configuration, org.axsl.font.FontServer fontServer, org.axsl.graphic.GraphicServer graphicServer, org.axsl.text.TextServer textServer, org.axsl.hyphen.HyphenationServer hyphenationServer) throws FOrayException
logger
- The logger.configuration
- The session configuration.fontServer
- The FontServer instance to use.graphicServer
- The GraphicServer instance to use.textServer
- The TextServer to use.hyphenationServer
- The hyphenation server.
FOrayException
- For errors creating the server.public static AreaTreeFactory4a makeAreaTreeFactory(org.apache.commons.logging.Log logger) throws FOrayException
logger
- The logger.
FOrayException
- For errors creating the server.public static PioneerFactory makeLayoutFactory(org.apache.commons.logging.Log logger) throws FOrayException
logger
- The logger.
FOrayException
- For errors creating the server.public static org.axsl.speech.SpeechServer makeSpeechServer() throws FOrayException
FOrayException
- For errors creating the server.public static org.axsl.ps.PsServer makePsServer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |