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
Processor
init
in interface Processor
processingContext
- 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()
Processor
getWriter
in interface Processor
Processor.getWriter()
public ContentHandler getContentHandler()
Processor
getContentHandler
in interface Processor
Processor.getContentHandler()
public void finished(boolean errorOccured) throws IOException
Processor
finished
in interface Processor
errorOccured
- Indicates if an error occured during processingIOException
Processor.finished(boolean)
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.