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
Modifier and TypeMethodDescriptionvoid
Report a debug message to the user.Return the Parser instance owned by this Engine.getPrinter
(String name) Return a Printer instance associated with the specified name.getProcessor
(String name) Return a Processor instance associated with the specified name.getProducer
(String name) Return a Producer instance associated with the specified name.void
Report a log message to the user.
-
Method Details
-
getParser
Parser getParser()Return the Parser instance owned by this Engine.- Returns:
- A non-null Parser instance.
-
getProducer
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
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
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
Report a debug message to the user.- Parameters:
msg
- The debug message to report.
-
log
Report a log message to the user.- Parameters:
msg
- The log message to report.
-