Package org.apache.stylebook
Interface Engine
-
- All Known Implementing Classes:
BasicEngine
public interface Engine
- Version:
- CVS $Revision: 313195 $ $Date: 1999-11-15 23:08:18 +0100 (Mon, 15 Nov 1999) $
- Author:
- Pierpaolo Fumagalli, Copyright 1999 © The Apache Software Foundation. All rights reserved.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
debug(java.lang.Object source, java.lang.String message)
Report a debug message to the user.Parser
getParser()
Return the Parser instance owned by this Engine.Printer
getPrinter(java.lang.String name)
Return a Printer instance associated with the specified name.Processor
getProcessor(java.lang.String name)
Return a Processor instance associated with the specified name.Producer
getProducer(java.lang.String name)
Return a Producer instance associated with the specified name.void
log(java.lang.Object source, java.lang.String message)
Report a log message to the user.
-
-
-
Method Detail
-
getParser
Parser getParser()
Return the Parser instance owned by this Engine.- Returns:
- A non-null Parser instance.
-
getProducer
Producer getProducer(java.lang.String name)
Return a Producer instance associated with the specified name.- Parameters:
name
- A non-null String representing the Producer name.- Returns:
- A non-null Producer instance or null if no Producer is associated with the specified name.
-
getProcessor
Processor getProcessor(java.lang.String name)
Return a Processor instance associated with the specified name.- Parameters:
name
- A non-null String representing the Processor name.- Returns:
- A non-null Processor instance or null if no Processor is associated with the specified name.
-
getPrinter
Printer getPrinter(java.lang.String name)
Return a Printer instance associated with the specified name.- Parameters:
name
- A non-null String representing the Printer name.- Returns:
- A non-null Printer instance or null if no Printer is associated with the specified name.
-
debug
void debug(java.lang.Object source, java.lang.String message)
Report a debug message to the user.- Parameters:
msg
- The debug message to report.
-
log
void log(java.lang.Object source, java.lang.String message)
Report a log message to the user.- Parameters:
msg
- The log message to report.
-
-