Package org.apache.sling.rewriter
Interface Serializer
-
- All Superinterfaces:
ContentHandler
public interface Serializer extends ContentHandler
TheSerializer
marks the end of the pipeline.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dispose()
Dispose the serializer.void
init(ProcessingContext context, ProcessingComponentConfiguration config)
Initialize this component.-
Methods inherited from interface org.xml.sax.ContentHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
-
-
-
-
Method Detail
-
init
void init(ProcessingContext context, ProcessingComponentConfiguration config) throws IOException
Initialize this component.- Parameters:
context
- The invocation context.config
- The configuration for this component.- Throws:
IOException
-
dispose
void dispose()
Dispose the serializer. This method is always invoked by the rewriter in order to allow the serializer to release any resources etc. After this method has been called the instance is considered unusable.
-
-