Package org.apache.stylebook
Class AbstractComponent
- java.lang.Object
-
- org.apache.stylebook.AbstractComponent
-
- All Implemented Interfaces:
Component
- Direct Known Subclasses:
AbstractParser,ContextProducer,DirectoryProducer,HTMLPrinter,HTMLSerializer,ImagePrinter,ImportProcessor,NullProcessor,ParserProducer,ProjectProducer,Xalan2Processor,XMLPrinter
public abstract class AbstractComponent extends java.lang.Object implements Component
- 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.
-
-
Field Summary
Fields Modifier and Type Field Description protected EngineengineThe Engine owning this Component instance.protected ParametersparamsThis component initialization Parameters.
-
Constructor Summary
Constructors Constructor Description AbstractComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddebug(java.lang.String message)Report a debug message to the owning Engine.voidinit(Engine e, Parameters p)Initialize this component instance.protected voidlog(java.lang.String message)Report a log message to the owning Engine.
-
-
-
Field Detail
-
engine
protected Engine engine
The Engine owning this Component instance.
-
params
protected Parameters params
This component initialization Parameters.
-
-
Method Detail
-
init
public void init(Engine e, Parameters p) throws InitializationException
Initialize this component instance.- Specified by:
initin interfaceComponent- Parameters:
e- The Engine owning this Component instancep- This component initialization Parameters- Throws:
InitializationException- If this Component instance cannot be initialized.
-
debug
protected void debug(java.lang.String message)
Report a debug message to the owning Engine.- Parameters:
msg- The debug message to report.
-
log
protected void log(java.lang.String message)
Report a log message to the owning Engine.- Parameters:
msg- The log message to report.
-
-