Package com.day.cq.rewriter.processor
Interface Processor
Deprecated.
Use the Apache Sling Rewriter Module (org.apache.sling.rewriter.Processor)
A
Processor post processes the output.-
Method Summary
Modifier and TypeMethodDescriptionvoidfinished()Deprecated.Clean up the processor.Deprecated.Get the content handler to write the output to.Deprecated.Get the writer to write the output to.voidinit(ProcessingContext context, ProcessorConfiguration config) Deprecated.Initialize this component.
-
Method Details
-
init
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
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
-