public interface Transformer extends ContentHandler
Transformer interface defines the middle of a rewriter pipeline.| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Dispose the transformer.
|
void |
init(ProcessingContext context,
ProcessingComponentConfiguration config)
Initialize this component.
|
void |
setContentHandler(ContentHandler handler)
Set the content handler the transformer should stream to.
|
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMappingvoid init(ProcessingContext context, ProcessingComponentConfiguration config) throws IOException
context - The invocation context.config - The configuration for this component.IOExceptionvoid setContentHandler(ContentHandler handler)
handler - Another transformer or a serializer.void dispose()
Copyright © 2010 - 2020 Adobe. All Rights Reserved