|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.stylebook.BasicEngine
public class BasicEngine
| Constructor Summary | |
|---|---|
BasicEngine(String parser,
URL conf,
Logger logger)
Create a new instance of this Engine. |
|
| Method Summary | |
|---|---|
void |
debug(Object source,
String msg)
Report a debug message to the user. |
Parser |
getParser()
Return the Parser instance owned by this Engine. |
Printer |
getPrinter(String name)
Return a Printer instance associated with the specified name. |
Processor |
getProcessor(String name)
Return a Processor instance associated with the specified name. |
Producer |
getProducer(String name)
Return a Producer instance associated with the specified name. |
void |
log(Object source,
String msg)
Report a log message to the user. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicEngine(String parser,
URL conf,
Logger logger)
throws InitializationException
parser - The name of the Parser class used to read configuration.cont - The SystemID of the configuration file.logger - The Logger used by this Engine.
InitializationException| Method Detail |
|---|
public Parser getParser()
getParser in interface Enginepublic Producer getProducer(String name)
getProducer in interface Enginename - A non-null String representing the Producer name.
public Processor getProcessor(String name)
getProcessor in interface Enginename - A non-null String representing the Processor name.
public Printer getPrinter(String name)
getPrinter in interface Enginename - A non-null String representing the Printer name.
public void debug(Object source,
String msg)
debug in interface Enginemsg - The debug message to report.
public void log(Object source,
String msg)
log in interface Enginemsg - The log message to report.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||