Package com.day.cq.rewriter.processor
Interface Processor
-
@Deprecated public interface Processor
Deprecated.Use the Apache Sling Rewriter Module (org.apache.sling.rewriter.Processor)AProcessor
post processes the output.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
finished()
Deprecated.Clean up the processor.org.xml.sax.ContentHandler
getContentHandler()
Deprecated.Get the content handler to write the output to.java.io.PrintWriter
getWriter()
Deprecated.Get the writer to write the output to.void
init(ProcessingContext context, ProcessorConfiguration config)
Deprecated.Initialize this component.
-
-
-
Method Detail
-
init
void init(ProcessingContext context, ProcessorConfiguration config) throws java.io.IOException
Deprecated.Initialize this component.- Parameters:
context
- The invocation context.config
- The configuration for this component.- Throws:
java.io.IOException
-IOException
-
getWriter
java.io.PrintWriter getWriter()
Deprecated.Get the writer to write the output to.- Returns:
- A print writer.
-
getContentHandler
org.xml.sax.ContentHandler getContentHandler()
Deprecated.Get the content handler to write the output to.- Returns:
- A content handler
-
finished
void finished() throws java.io.IOException
Deprecated.Clean up the processor. This method should always be called after a processor run, regardless if it was successfull or failed.- Throws:
java.io.IOException
-IOException
-
-