| Constructor and Description |
|---|
PipelineImpl(FactoryCache factoryCache)
Setup this pipeline.
|
| Modifier and Type | Method and Description |
|---|---|
void |
finished(boolean errorOccured)
Clean up the processor.
|
ContentHandler |
getContentHandler()
Get the content handler to write the output to.
|
PrintWriter |
getWriter()
Get the writer to write the output to.
|
void |
init(ProcessingContext processingContext,
ProcessorConfiguration c)
Initialize this component.
|
String |
toString() |
public PipelineImpl(FactoryCache factoryCache)
public void init(ProcessingContext processingContext, ProcessorConfiguration c) throws IOException
Processorinit in interface ProcessorprocessingContext - The invocation context.c - The configuration for this component.IOException - If an error occursProcessor.init(org.apache.sling.rewriter.ProcessingContext, org.apache.sling.rewriter.ProcessorConfiguration)public PrintWriter getWriter()
ProcessorgetWriter in interface ProcessorProcessor.getWriter()public ContentHandler getContentHandler()
ProcessorgetContentHandler in interface ProcessorProcessor.getContentHandler()public void finished(boolean errorOccured)
throws IOException
Processorfinished in interface ProcessorerrorOccured - Indicates if an error occured during processingIOExceptionProcessor.finished(boolean)Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.