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 Object implements Component
Version:
CVS $Revision: 313195 $ $Date: 1999-11-15 22:08:18 +0000 (Mon, 15 Nov 1999) $
Author:
Pierpaolo Fumagalli, Copyright 1999 © The Apache Software Foundation. All rights reserved.
  • Field Details

    • engine

      protected Engine engine
      The Engine owning this Component instance.
    • params

      protected Parameters params
      This component initialization Parameters.
  • Constructor Details

    • AbstractComponent

      public AbstractComponent()
  • Method Details

    • init

      public void init(Engine e, Parameters p) throws InitializationException
      Initialize this component instance.
      Specified by:
      init in interface Component
      Parameters:
      e - The Engine owning this Component instance
      p - This component initialization Parameters
      Throws:
      InitializationException - If this Component instance cannot be initialized.
    • debug

      protected void debug(String message)
      Report a debug message to the owning Engine.
      Parameters:
      msg - The debug message to report.
    • log

      protected void log(String message)
      Report a log message to the owning Engine.
      Parameters:
      msg - The log message to report.