Interface Processor


@Deprecated public interface Processor
Deprecated.
Use the Apache Sling Rewriter Module (org.apache.sling.rewriter.Processor)
A Processor post processes the output.
  • Method Details

    • init

      void init(ProcessingContext context, ProcessorConfiguration config) throws IOException
      Deprecated.
      Initialize this component.
      Parameters:
      context - The invocation context.
      config - The configuration for this component.
      Throws:
      IOException - IOException
    • getWriter

      PrintWriter getWriter()
      Deprecated.
      Get the writer to write the output to.
      Returns:
      A print writer.
    • getContentHandler

      ContentHandler getContentHandler()
      Deprecated.
      Get the content handler to write the output to.
      Returns:
      A content handler
    • finished

      void finished() throws IOException
      Deprecated.
      Clean up the processor. This method should always be called after a processor run, regardless if it was successfull or failed.
      Throws:
      IOException - IOException